Changeset 15511
- Timestamp:
- 11/06/2026 11:05:15 PM (4 days ago)
- Location:
- sites/trunk/freescout.wordpress.net/Modules/WPOrgSite
- Files:
-
- 1 added
- 5 edited
-
Providers/WPOrgSiteServiceProvider.php (modified) (1 diff)
-
Public/css/site.css (modified) (1 diff)
-
Public/js/users.js (added)
-
README.md (modified) (1 diff)
-
module.json (modified) (1 diff)
-
tests/AssetsTest.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/freescout.wordpress.net/Modules/WPOrgSite/Providers/WPOrgSiteServiceProvider.php
r15450 r15511 121 121 $javascripts[] = \Module::getPublicPath( self::ALIAS ) . '/js/discard.js'; 122 122 $javascripts[] = \Module::getPublicPath( self::ALIAS ) . '/js/settings.js'; 123 $javascripts[] = \Module::getPublicPath( self::ALIAS ) . '/js/users.js'; 123 124 124 125 return $javascripts; -
sites/trunk/freescout.wordpress.net/Modules/WPOrgSite/Public/css/site.css
r15401 r15511 38 38 top: 6px; 39 39 margin-left: 0; 40 } 41 42 /* The Users page's filters, from users.js, left of the search and as tall as it. */ 43 .wporgsite-users-filters { 44 display: flex; 45 flex-wrap: wrap; 46 gap: 10px; 47 margin-right: 10px; 48 } 49 50 .wporgsite-users-filters .btn { 51 height: 30px; 52 padding: 0 10px; 53 font-size: 13px; 54 line-height: 28px; 55 } 56 57 /* As light as the search's border, with gray text, in every state Bootstrap darkens them. */ 58 .wporgsite-users-filters .btn, 59 .wporgsite-users-filters .btn:hover, 60 .wporgsite-users-filters .btn:focus, 61 .wporgsite-users-filters .btn.active, 62 .wporgsite-users-filters .btn.active:hover, 63 .wporgsite-users-filters .btn.active:focus { 64 border-color: #d5dbe0; 65 color: #666; 66 } 67 68 /* Bootstrap's focus border, which is its only focus indicator, for keyboard focus. */ 69 .wporgsite-users-filters .btn:focus-visible, 70 .wporgsite-users-filters .btn.active:focus-visible { 71 border-color: #a5a9ac; 72 } 73 74 /* Bootstrap's pressed shadow, lighter. */ 75 .wporgsite-users-filters .btn.active { 76 box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.075 ); 77 } 78 79 /* Core's search shows and hides cards inline, so the filters' hiding needs !important. */ 80 #users-list > .card.wporgsite-users-filtered { 81 display: none !important; 40 82 } 41 83 -
sites/trunk/freescout.wordpress.net/Modules/WPOrgSite/README.md
r15450 r15511 8 8 - **Modules page layout:** the module cards are laid out in columns, as many as the window fits. 9 9 - **Settings kept in `.env`:** FreeScout saves some of Manage » Settings to `.env`, like the time zone, the language, conversation numbers, and the fetching interval, and so do modules for some of theirs. The server's `.env` is read-only, so saving one failed, and with it the rest of its section. They show read-only, with their value and a note to ask the systems team, and saving a section leaves them out, so the rest of it saves. It's in `Services/EnvSettings.php` and `Public/js/settings.js`. 10 - **Users page:** the users can be filtered by role, admins or users, and by status, active or inactive: users who haven’t accepted their invite or logged in yet, which core grays out, and disabled users. The heading counts the users shown, after the search too. The filters are kept in the URL, like `?role=admin&status=active`, so going back from a profile, or a shared link, shows the same users. Agents who aren't admins don't see admins, so they only get the status filter. It's in `Public/js/users.js`. 10 11 - **Missing scripts and stylesheets:** a module's file in core's script or style bundle that isn't on the server is left out, and logged. Otherwise core's Minify throws, and core leaves the whole bundle out of the page, jQuery and all, so nothing that needs JavaScript works. It's in `Services/Assets.php`. 11 12 - **Recipients:** a reply, forward, or new conversation to more than 100 people, in To, Cc, Bcc, and the mailbox's Auto Bcc together, from a mailbox that sends through Gmail (`smtp.gmail.com`), isn't sent, and the form says why, naming the Auto Bcc when it's what puts the email over. Gmail refuses more than 100 people in To and Cc over SMTP, and counts every recipient, Bcc included, towards the mailbox's daily limits ([Google's limits](https://support.google.com/a/answer/166852)). Notes aren't emailed, so they aren't limited. It's in `Http/Middleware/LimitRecipients.php`. -
sites/trunk/freescout.wordpress.net/Modules/WPOrgSite/module.json
r15450 r15511 4 4 "img": "/modules/wporgsite/img/icon.svg", 5 5 "description": "Adapts FreeScout to how WordPress.org runs it, e.g. modules come from deploys, not from updates here.", 6 "version": "1. 3.0",6 "version": "1.4.0", 7 7 "detailsUrl": "https://github.com/WordPress/wordpress.org/tree/trunk/freescout.wordpress.net/Modules/WPOrgSite", 8 8 "author": "WordPress.org", -
sites/trunk/freescout.wordpress.net/Modules/WPOrgSite/tests/AssetsTest.php
r15400 r15511 38 38 $assets = array( 39 39 'stylesheets' => array( '/css/style.css', '/css/site.css' ), 40 'javascripts' => array( '/js/main.js', '/js/modules.js', '/js/alt-conversation.js', '/js/conversation.js', '/js/saved-replies.js', '/js/sidebar.js', '/js/header.js', '/js/discard.js', '/js/settings.js' ),40 'javascripts' => array( '/js/main.js', '/js/modules.js', '/js/alt-conversation.js', '/js/conversation.js', '/js/saved-replies.js', '/js/sidebar.js', '/js/header.js', '/js/discard.js', '/js/settings.js', '/js/users.js' ), 41 41 ); 42 42
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)