Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New manager layout #636

Draft
wants to merge 67 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
4475a8a
new manage layout
Mottie Nov 25, 2018
ed07cb8
Make entries draggable
Mottie Nov 25, 2018
5c38441
Delay loading of non-essential css/js
Mottie Nov 26, 2018
fbcc7aa
Add bulk action panel
Mottie Nov 27, 2018
f57af79
Fix filter, search & add bulk ui html
Mottie Nov 27, 2018
a1b7847
Move style header & remove template
Mottie Nov 28, 2018
17e1860
Wire up bulk action toggle
Mottie Nov 28, 2018
cf695c7
Cleanup UI
Mottie Nov 29, 2018
7cd8403
Update labels on style toggle
Mottie Nov 29, 2018
0e7ff1c
Add busy icon
Mottie Nov 29, 2018
52f012d
Fix action icon wrapping
Mottie Dec 1, 2018
9368c27
Cleanup updateDate code
Mottie Dec 1, 2018
d379e5f
Add multisort to header & labels
Mottie Dec 2, 2018
9a31452
Modify localization to allow including parameters in HTML
Mottie Dec 3, 2018
57c5589
Change header ID
Mottie Dec 3, 2018
e3be7bf
Fix bulk actions markup
Mottie Dec 3, 2018
de7b0f4
WIP: sort injection order
Mottie Dec 3, 2018
cf4d4a2
Use semverCompare on version column
Mottie Dec 3, 2018
529172d
Fix tabbing to actions
Mottie Dec 3, 2018
bc404e8
Fix enabled update when toggled from popup
Mottie Dec 4, 2018
331be7a
Add css tooltips
Mottie Dec 8, 2018
d2930e5
Add back update history button
Mottie Dec 8, 2018
8f87494
Add filter toolbar indicator
Mottie Dec 8, 2018
596d6a9
Ditch tabs & add header icons
Mottie Dec 14, 2018
42a7578
Fix style header localization
Mottie Dec 15, 2018
218b6b4
Add applies to config modal
Mottie Dec 17, 2018
198315c
Change default sort
Mottie Dec 31, 2018
30a69f5
Fix bulk import
Mottie Dec 19, 2018
a7026bd
Wire up some bulk actions
Mottie Dec 31, 2018
44889f6
Fix bulk export
Mottie Jan 1, 2019
ead5e74
Fix import dropdown
Mottie Jan 1, 2019
a0ba63b
Remove bulk reset
Mottie Jan 1, 2019
4030496
Fix bulk updates
Mottie Jan 2, 2019
b5387de
Fix label updates
Mottie Jan 2, 2019
9fd4e0f
Fix styling for width < 1100px
Mottie Jan 2, 2019
e547d93
Only open bulk action with filter checkbox
Mottie Jan 3, 2019
c966cfe
Change active dragging color
Mottie Jan 3, 2019
e873ffd
Move home & support buttons to the right
Mottie Jan 3, 2019
bc3f2e0
Add more css variables
Mottie Jan 3, 2019
0d87689
Make entire style name clickable
Mottie Jan 3, 2019
9b408aa
Fix checked icon size
Mottie Jan 3, 2019
e9510c0
Only allow manual sort with ID column sort
Mottie Jan 3, 2019
30a780a
Show a default of 6 applies to favicons
Mottie Jan 3, 2019
7abc4f7
Add export & update all buttons to header
Mottie Jan 13, 2019
ae6bace
Reduce favicon size
Mottie Jan 13, 2019
ebeaba3
Make entry name full height
Mottie Jan 13, 2019
6759341
Fix hover highlight
Mottie Jan 13, 2019
3042054
Fix entry height variable
Mottie Jan 13, 2019
99f8bbb
Brighten checked checkbox color
Mottie Jan 13, 2019
5cc9e68
Increase tooltip contrast
Mottie Jan 13, 2019
1bc84bb
Fix header backup dropdown position
Mottie Jan 13, 2019
bd117b8
Build & save injection order values
Mottie Jan 17, 2019
67682fa
Fix favicon size
Mottie Jan 19, 2019
44df296
Change favicon option to show by default
Mottie Jan 19, 2019
f9ccd3e
Increase spacing between header icons
Mottie Jan 21, 2019
7d7e7e9
Stop using detail summary as applies to expander
Mottie Jan 28, 2019
71baf44
Remove injection order code (for now)
Mottie Jan 28, 2019
0dfd668
Fix a few style issues
Mottie Jan 28, 2019
6c747fa
Change new style into a dropdown
Mottie Mar 10, 2019
cd309aa
Prevent JS error in Chrome while emulating mobile devices
Mottie Mar 11, 2019
84163ba
Change layout in lower resolutions
Mottie Mar 11, 2019
89644d0
Replace home icon with external link icon
Mottie Mar 11, 2019
48b1877
Tweaks
Mottie Mar 11, 2020
9224c7a
Cleanup manage styles
Mottie Mar 12, 2020
67e886b
Fix msgbox js error
Mottie Mar 12, 2020
2fd08cb
Restore options popup
Mottie Mar 12, 2020
5047ceb
Switch to filter text/buttons
Mottie Mar 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 76 additions & 29 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
"message": "Write new style",
"description": "Label for the button to go to the add style page"
},
"addPlainStyleLabel": {
"message": "New plain style",
"description": "Label for the button to go to the add style page"
},
"addUserCSSStyleLabel": {
"message": "New UserCSS style",
"description": "Label for the button to go to the add style page"
},
"addStyleTitle": {
"message": "Add Style",
"description": "Title of the page for adding styles"
Expand All @@ -24,10 +32,6 @@
},
"description": "Text on the manage screen to describe what the style applies to"
},
"appliesDisplayTruncatedSuffix": {
"message": "and more",
"description": "Text added to appliesDisplay when there are more sites for the style than are displayed"
},
"appliesDomainOption": {
"message": "URLs on the domain",
"description": "Option to make the style apply to the entered string as a domain"
Expand Down Expand Up @@ -88,12 +92,17 @@
"message": "Backup",
"description": "Heading for backup"
},
"backupImport": {
"message": "Import backup",
"description": "Tooltip for header import/restore backup icon"
},
"backupMessage": {
"message": "Select a file or drag and drop to this page.",
"description": "Message for backup"
},
"bckpInstStyles": {
"message": "Export styles"
"message": "Local device",
"description": "Selected option to backup indicated styles to local device/drive"
},
"checkAllUpdates": {
"message": "Check all styles for updates",
Expand Down Expand Up @@ -335,7 +344,11 @@
},
"exportLabel": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
"description": "Label for the button to export a style ('edit' page) or bulk styles ('manage' page)"
},
"exportAllLabel": {
"message": "Export All",
"description": "Label for the button to export all styles ('manage' page)"
},
"externalFeedback": {
"message": "Feedback",
Expand Down Expand Up @@ -405,6 +418,10 @@
"message": "Enabled",
"description": "Used in various lists/options to indicate that something is enabled"
},
"genericFilterLabel": {
"message": "Filter",
"description": "Used in various lists/options to indicate that something is or will be filtered"
},
"genericError": {
"message": "Error",
"description": "Used in various places to indicate some error occurred."
Expand All @@ -413,6 +430,10 @@
"message": "History",
"description": "Used in various places to show a history log of something"
},
"genericName": {
"message": "Name",
"description": "Used in various places to indicate the style name"
},
"genericNext": {
"message": "Next",
"description": "Used in various places to select/perform the next step/action"
Expand Down Expand Up @@ -554,6 +575,10 @@
"message": "Get help",
"description": "Homepage link text on the manage page e.g. https://add0n.com/stylus.html#features with chat/FAQ/intro/info"
},
"linkChat": {
"message": "Chat with us",
"description": "Link to open a new browser tab to chat with users & developers on Discord"
},
"linkGetStyles": {
"message": "Get styles",
"description": "Help link text on the manage page e.g. https://userstyles.org"
Expand Down Expand Up @@ -1164,7 +1189,8 @@
"description": "Label before the replace-with input field in the editor shown on Ctrl-H etc."
},
"retrieveBckp": {
"message": "Import styles"
"message": "Local source",
"description": "Selected option to get a backup of styles from a local device/drive"
},
"search": {
"message": "Search",
Expand Down Expand Up @@ -1214,6 +1240,26 @@
"message": "</> key focuses the search field.\nPlain text: search within the name, code, homepage URL and sites it is applied to. Words with less than 3 letters are ignored.\nStyles matching a full URL: prefix the search with <url:>, e.g. <url:https://github.com/openstyles/stylus>\nRegular expressions: include slashes and flags, e.g. </body.*?\\ba\\b/simguy>\nExact words: wrap the query in double quotes, e.g. <\".header ~ div\">",
"description": "Text in the minihelp displayed when clicking (i) icon to the right of the search input field on the Manage styles page"
},
"bulkActions": {
"message": "Apply actions to selected styles",
"description": "Label for bulk actions select dropdown"
},
"bulkActionsSelect": {
"message": "Choose a bulk action",
"description": "Placeholder text in dropdown to tell the user to choose an action to apply to all selected styles"
},
"bulkActionsApply": {
"message": "Apply",
"description": "Text for button to apply the selected action"
},
"bulkActionsTooltip": {
"message": "Bulk actions can be applied to selected styles in this column",
"description": "Select style for bulk action header tooltip"
},
"bulkActionsError": {
"message": "Choose at least one style",
"description": "Error displayed in a tooltip when the user attempts to apply an action with no styles selected"
},
"sectionAdd": {
"message": "Add another section",
"description": "Label for the button to add a section"
Expand All @@ -1237,33 +1283,34 @@
"shortcutsNote": {
"message": "Define keyboard shortcuts"
},
"sortDateNewestFirst": {
"message": "newest first",
"description": "Text added to indicate that sorting a date would add the newest entries at the top"
},
"sortDateOldestFirst": {
"message": "oldest first",
"description": "Text added to indicate that sorting a date would add the oldest entries at the top"
"sortColumnEnabled": {
"message": "enabled styles",
"description": "Column name seen in the tooltip when hovering over the header; used to replace the 'sortLabel` placeholder"
},
"sortLabel": {
"message": "Select a sort to apply to the installed styles",
"description": "Title on the sort select to indicate it is used for sorting entries"
"sortColumnName": {
"message": "style name",
"description": "Column name seen in the tooltip when hovering over the header; used to replace the 'sortLabel` placeholder"
},
"sortLabelTitleAsc": {
"message": "Title Ascending",
"description": "Text added to option group to indicate a block of options that apply a title ascending (A to Z) sort"
"sortColumnVersion": {
"message": "style version",
"description": "Column name seen in the tooltip when hovering over the header; used to replace the 'sortLabel` placeholder"
},
"sortLabelTitleDesc": {
"message": "Title Descending",
"description": "Text added to option group to indicate a block of options that apply a title descending (Z to A) sort"
"sortColumnLastUpdate": {
"message": "last updated",
"description": "Column name seen in the tooltip when hovering over the header; used to replace the 'sortLabel` placeholder"
},
"sortStylesHelp": {
"message": "Choose the type of sort to apply to the installed entries from within the sort dropdown. The default setting applies an ascending sort (A to Z) to the entry titles. Sorts within the \"Title Descending\" group will apply a descending sort (Z to A) to the title.\nThere are other presets that will allow sorting the entries by multiple criteria. Think of this like sorting a table with multiple columns and each category in a select (between the plus signs) represents a column, or group.\nFor example, if the setting is \"Enabled (first) + Title\", the entries would sort so that all the enabled entries are sorted to the top of the list, then an entry title ascending sort (A to Z) is applied to both the enabled and disabled entries separately.",
"description": "Text in the minihelp displayed when clicking (i) icon to the right of the sort input field on the Manage styles page"
"sortHeader": {
"message": "Sort",
"description": "Title of sort column, indicating that the style can be manually sorted by dragging & dropping"
},
"sortStylesHelpTitle": {
"message": "Sort contents",
"description": "Label for the sort info popup on the Manage styles page"
"sortLabel": {
"message": "Click to sort the \"$name$\" column;\nUse shift + click to sort multiple columns",
"placeholders": {
"name": {
"content": "$1"
}
},
"description": "Title added to links in the manager page header to inform the user on how to sort the columns"
},
"styleBadRegexp": {
"message": "Regexp is invalid.",
Expand Down
Loading