Commit Graph

233 Commits

Author SHA1 Message Date
Samuel Elliott 5be5002ea1
Fix drawer open/close animation where height > width 2018-02-21 13:11:55 +00:00
Samuel Elliott d88caab321
Add full width settings 2018-02-21 10:46:13 +00:00
Samuel Elliott 0be09f6cf8
Indent with spaces 2018-02-20 00:13:24 +00:00
Samuel Elliott 201af9473e
Setting specific styles for inline arrays
Adds the ability for settings in an array to have no header text and appear full width
2018-02-19 22:19:50 +00:00
Samuel Elliott fae6fc8511
Add settings arrays 2018-02-19 18:20:44 +00:00
Samuel Elliott 847d88a628
Add confirm modal 2018-02-19 18:18:55 +00:00
Samuel Elliott 7cf1cf36fa
Add modal IDs 2018-02-19 18:17:49 +00:00
Samuel Elliott bd19a633b0
Move scroller outside settings, always show scrollbar in content 2018-02-19 18:17:06 +00:00
Samuel Elliott 6b94437b89
Fix modal backdrop still fading out when the first modal is closing even with additional modals on top 2018-02-19 18:11:47 +00:00
Samuel Elliott fca89aaaa6
Hide inactive tabs’ refresh button 2018-02-19 18:10:09 +00:00
Samuel Elliott 5931bffca3
Move plugins and themes view tab bars to the header 2018-02-17 02:17:55 +00:00
Samuel Elliott 5938e39d99
Update tab bar styles 2018-02-17 02:16:12 +00:00
Samuel Elliott 36a2fb1ec5
Tidy settings wrapper SCSS 2018-02-17 01:40:59 +00:00
Jiiks 2962d1fc9f Styles for update check 2018-02-14 22:02:12 +02:00
Samuel Elliott 0373d81199
Fixed showing content manager error modal with no errors 2018-02-14 18:51:51 +00:00
Samuel Elliott a9d488b748
Throw an error instead 2018-02-14 18:19:20 +00:00
Samuel Elliott c9d9feb63f
Prevent modal close when settings have changed 2018-02-14 18:14:46 +00:00
Samuel Elliott bea87f5be8
Add scheme hints 2018-02-14 18:03:10 +00:00
Samuel Elliott 9fb914fb70
Add settings schemes 2018-02-14 17:55:10 +00:00
Samuel Elliott 0cfb6d36ca
Rename new Settings.saveSettings to Settings.mergeSettings 2018-02-14 16:32:12 +00:00
Samuel Elliott dcb2704a28
Merge Modals.pluginSettings and Modals.themeSettings to a single function for both 2018-02-14 16:22:48 +00:00
Samuel Elliott 8c5796e4f6
Remove old code 2018-02-14 16:14:59 +00:00
Samuel Elliott 41b7906612
Use Utils.compare for internal settings 2018-02-14 16:11:26 +00:00
Samuel Elliott 1dd01e186b
Use Plugin/Theme.config 2018-02-14 15:45:10 +00:00
Samuel Elliott 0af22b21d4
Merge remote-tracking branch 'upstream/master' into add-generic-settings-modal
# Conflicts:
#	client/src/modules/plugin.js
#	tests/plugins/Example/config.json
2018-02-14 15:40:22 +00:00
Samuel Elliott cebaba2de3
Fix file setting 2018-02-14 01:52:45 +00:00
Samuel Elliott 145df5e7cc
Add Plugin.config 2018-02-14 01:45:41 +00:00
Samuel Elliott f13726d8e2
Remove old settings modals 2018-02-14 01:42:10 +00:00
Samuel Elliott 4b9084bee4
Add generic settings modal and recursive compare 2018-02-14 01:40:47 +00:00
Samuel Elliott 6b96bdbc3b
Add category names 2018-02-14 01:37:47 +00:00
Samuel Elliott 79af725f7f
Move error event struct 2018-02-13 22:28:58 +00:00
Samuel Elliott a965dc9515
Tidy modal SCSS files 2018-02-13 17:50:01 +00:00
Samuel Elliott 98261a864d Hide lower modals 2018-02-13 17:39:32 +00:00
Samuel Elliott 21c70124e5 Bring back the logo animation on menu open/close 2018-02-13 17:39:31 +00:00
Samuel Elliott 10abf0353f Rename the tooltips container to bd-tooltips and move it above the settings and modals elements 2018-02-13 17:39:31 +00:00
Samuel Elliott 3b66d320e8 Move plugin/theme settings modals to the modal manager 2018-02-13 17:39:31 +00:00
Samuel Elliott 21a8554d6f Change lower modals’ opacity 2018-02-13 17:39:31 +00:00
Samuel Elliott 8706e9ef0f Merge plugin/theme manager errors 2018-02-13 17:39:31 +00:00
Samuel Elliott 64ac3677b1 Add modal manager 2018-02-13 17:39:31 +00:00
Jiiks 9a652e3748 add import to api 2018-02-13 18:18:01 +02:00
Samuel Elliott 32326471b1
Tidy switches Vue files 2018-02-12 19:00:42 +00:00
Samuel Elliott 8d7261a24a
Remove old components 2018-02-12 17:56:22 +00:00
Samuel Elliott 26fbac6bbc
Add support for disabled settings 2018-02-12 17:54:16 +00:00
Samuel Elliott eaa8d3a03a
Fix CSS editor panel 2018-02-12 17:46:29 +00:00
Samuel Elliott 09cff282cb
Update internal settings format and use a generic settings panel 2018-02-12 17:33:32 +00:00
Samuel Elliott 52f8c1cf31
Rename PluginSetting to Setting 2018-02-12 16:52:09 +00:00
Samuel Elliott 4dfe349802
Add core settings storage 2018-02-12 15:19:11 +00:00
Jiiks 194c1c1ff8 Change dropdown/radio structure 2018-02-12 04:54:15 +02:00
Samuel Elliott 01655f0c04 Fix position of the settings menu button on Linux 2018-02-09 15:48:58 +00:00
Samuel Elliott 08b791e547
Add theme configuration and saving 2018-02-08 20:19:26 +00:00
Jiiks 67f7111f66 Content manager error modal 2018-02-07 18:02:27 +02:00
Jiiks 208ca763ab add header 2018-02-07 14:21:51 +02:00
Jiiks 51f5a93da2 add modal footer, styling and error modal on plugin load fail 2018-02-07 14:15:46 +02:00
Jiiks f69ea55967 Make additional modal backdrops transparent 2018-02-07 13:56:10 +02:00
Jiiks b395ed767d add error mi, event based modals 2018-02-07 13:52:59 +02:00
Jiiks 72b024c4f3 User a card base for both plugin and theme cards 2018-02-05 18:58:35 +02:00
Jiiks e7b488316b Initial themes view with enable/disable functional 2018-02-05 18:48:03 +02:00
Jiiks ca3ce86dc5 Correctly toggle changed state 2018-02-05 15:58:30 +02:00
Jiiks c5a011012f Functional bool setting 2018-02-05 15:57:41 +02:00
Samuel Elliott 5b87a928ba
Add preset points along a slider 2018-02-05 13:36:43 +00:00
Jiiks 45448e23d3 add value tooltip to slider 2018-02-05 12:45:59 +02:00
Alexei Stukov 93607fde0c
Merge branch 'master' into add-multiline-text 2018-02-05 10:54:29 +02:00
Samuel Elliott 30121ecc9c
Add multiline text 2018-02-05 01:14:19 +00:00
Samuel Elliott 7250ab6cf9
Add sliders 2018-02-05 00:34:22 +00:00
Jiiks 5165094a1b Set the divider colour for changed settings to green 2018-02-05 01:14:28 +02:00
Samuel Elliott 9245e921ce
Add drawer open/close animation 2018-02-04 22:47:27 +00:00
Jiiks 4ba99b654e Wheel to increment number 2018-02-05 00:40:01 +02:00
Jiiks a783072cca Full width radio 2018-02-05 00:30:24 +02:00
Samuel Elliott 4ef24b8b85
Organised form SCSS files and updated styles for dropdowns and radios 2018-02-04 22:09:24 +00:00
Samuel Elliott ba4a02b501
Fix file setting open button 2018-02-04 22:07:03 +00:00
Jiiks c73346292e Give plugins an option to set an icon 2018-02-04 23:19:05 +02:00
Jiiks a706e6f2fc Plugin setting saving 2018-02-04 21:06:08 +02:00
samfun123 5bcd43bb48 Fixed two bugs in the Number type 2018-02-04 11:32:03 -05:00
samfun123 75410b4ce9 Add Number, Radio and Dropdown setting types 2018-02-04 11:12:38 -05:00
Jiiks 932d91876b Drawer button animation 2018-02-04 16:20:57 +02:00
Jiiks 3034ea4934 User chevron and make entire header clickable 2018-02-04 15:51:11 +02:00
Jiiks fc6bb75229 Add chevron-down material icon 2018-02-04 15:44:55 +02:00
Jiiks 3edceebd89 typo 2018-02-04 14:34:09 +02:00
Alexei Stukov 996ab6a73f
Merge branch 'master' into add-modal-animation 2018-02-04 14:28:56 +02:00
Jiiks 267a545ea5 Remove debug 2018-02-04 14:19:55 +02:00
Jiiks 18926dd58a add keyup to close modal 2018-02-04 14:19:12 +02:00
Jiiks 8a799f29f7 Fullscreen modals
fixes #80
2018-02-04 14:00:08 +02:00
Jiiks bf648dce6c Remove transforms so fixed positioning actually works. Chrome: 20574 wontfix lel 2018-02-04 11:51:35 +02:00
Samuel Elliott 21025e759e
Add animation on modal open/close 2018-02-03 21:52:56 +00:00
Samuel Elliott 915db146e8
Added plus icon 2018-02-03 15:00:36 +00:00
Samuel Elliott c5442f709d
Add drawers and hairline when scrolling in a modal and organise form SCSS files 2018-02-03 14:52:58 +00:00
Jiiks 39da2ffdb8 Change how plugin config works and set z index for modals 2018-02-03 11:25:34 +02:00
Jiiks e0ce4c00c1 coom != com 2018-02-03 07:46:18 +02:00
Jiiks 889e4916ef Sidebar should be col 2018-02-03 07:45:18 +02:00
Jiiks b1edcf5810 add twitter 2018-02-03 07:44:18 +02:00
Jiiks 071b60b986 Move info to sidebar footer and set scroller padding 2018-02-03 07:38:28 +02:00
Jiiks 801235e50b add minus and open-in-new 2018-02-03 02:36:05 +02:00
Alexei Stukov 4d716439b6
Merge pull request #74 from JsSucks/ui
Material icons
2018-02-03 02:29:49 +02:00
Alexei Stukov 7ab6daf626
Merge pull request #73 from samuelthomas2774/add-file-setting
Add file setting
2018-02-03 02:26:07 +02:00
Jiiks e05b5c3377 add and use material/close 2018-02-03 02:17:35 +02:00
Jiiks 2f463fad32 Like so instead 2018-02-03 02:00:18 +02:00
Jiiks f18c594744 Start baking material icons straight in 2018-02-03 01:45:00 +02:00
Samuel Elliott 2d0ba0cc0e
Add file setting 2018-02-02 23:42:12 +00:00
Jiiks 20c9dacf71 Category support for plugin settings 2018-02-02 22:47:50 +02:00
Jiiks 853e2a03aa Move backdrop to modal and add a warning when attempting to close with unsaved changes 2018-02-02 21:43:35 +02:00
Samuel Elliott 67e6a22ca7
Made the close button in the plugin settings modal work 2018-02-02 18:07:05 +00:00
Alexei Stukov aefab7c677
Merge pull request #69 from JsSucks/plugins
Merge
2018-02-02 19:55:33 +02:00
Jiiks fe06db3d3c Functional plugin settings(almost) 2018-02-02 19:52:38 +02:00
Samuel Elliott 26de9a3197
Fix tooltip positioning
JsSucks/BetterDiscordApp#67
2018-02-02 15:14:12 +00:00
Jiiks eec595185c Unsaved changes alert footer 2018-02-02 16:40:17 +02:00
Jiiks 1647f8d8c2 Single bd-modal container 2018-02-02 16:10:53 +02:00
Jiiks a7a2e6b08b Correct settings body structure 2018-02-02 16:05:44 +02:00
Jiiks b6489cefaa add repo and site links #42 2018-02-02 15:23:02 +02:00
Jiiks 600eed9dbc Eventlistener module base 2018-02-01 05:00:28 +02:00
Jiiks c078c7b686 https 2018-01-31 21:12:36 +02:00
Jiiks 2104770c9d Fix badge wrap 2018-01-31 21:10:33 +02:00
Jiiks c01f022ede Fix props passing for now 2018-01-31 18:25:41 +02:00
Jiiks eca427ce46 Cleanup 2018-01-31 17:47:47 +02:00
Jiiks 14de558305 Profilebadges. Implements #55 2018-01-31 17:45:25 +02:00
Jiiks 92634a2f98 BD Dev/Contributor badge 2018-01-31 16:10:35 +02:00
Jiiks 6b800d94e3 For is faster 2018-01-31 15:46:57 +02:00
Jiiks 76730d38d4 add dom observer 2018-01-31 15:35:22 +02:00
Jiiks 9f094a08cc Plugin settings modal 2018-01-31 13:35:38 +02:00
Jiiks 8621898558 Local refresh 2018-01-31 13:29:19 +02:00
Jiiks 235b373f1a Plugin Start/Stop switch 2018-01-31 10:32:20 +02:00
Jiiks e0df52b6ab Plugin reloading 2018-01-31 10:17:15 +02:00
Jiiks 1896a0d558 Content refresh 2018-01-31 00:21:06 +02:00
Jiiks a19570c205 PluginCard 2018-01-30 19:12:13 +02:00
Jiiks 5ad5eeff64 New util functions and pluginmanager 2018-01-30 17:59:27 +02:00
Jiiks 85db5af655 Module resolves and base pluginmanager 2018-01-30 15:20:24 +02:00
Jiiks 6385c15236 Css editor view 2018-01-30 13:20:42 +02:00
Jiiks 031e93185a Css editor and ipc module 2018-01-30 13:14:16 +02:00
Jiiks 9c14b44d22 add settings and consistency 2018-01-30 12:01:24 +02:00
Jiiks 30b4a8a55d Add components 2018-01-30 11:28:28 +02:00
Jiiks 5cdd9948e8 Consistency, add settings component, trigger ready 2018-01-29 20:15:58 +02:00
Jiiks ca5467addb add vue usings 2018-01-29 20:00:31 +02:00
Jiiks 5791368a75 add main ui module and id to dom 2018-01-29 19:56:48 +02:00
Jiiks 4c5ff964e6 Refactor base, add DOM 2018-01-29 19:34:31 +02:00