Commit Graph

240 Commits

Author SHA1 Message Date
Zack Rauen 74b2dace04 Restructure BD into a small mono-repo
This is a repo-wide refactor that introduces the injector to the main branch.

The new architecture is as such:
common/
injector/
renderer/
2021-03-06 03:30:16 -05:00
Zack Rauen 59f2025309 Switch to bundling css 2021-02-28 19:22:45 -05:00
Zack Rauen 3240c6c25b Enable loading in context isolation 2021-02-28 19:19:25 -05:00
Zack Rauen f7771f4e4c Fixes minor bugs 2021-02-22 17:53:21 -05:00
Strencher 99270038b3
Fixes Colored Text for development branch (#531)
* Fix colored text for development branch too.

* Fix ChannelStore
2021-02-05 17:51:54 -05:00
Tropical 1bb613942f
Emotes semi-rewrite, removal of old styles and broken setting, temporarily comment out patcher code for .bd-guild. (#511)
* emotes semi-rewrite

* Remove unnessecary className

* Pad bd-button to be used practically outside of the addons list.

* card styling consistency, temporarily remove guild patcher to avoid unintended side-effects

* lint

* forgot to comment some code

* code cleanup

* this gap property isnt applying

* remove "show names" emote function

this feature appears to be broken, and is such a small tweak that I doubt anyone would intentionally disable it.

* Change `open` and `closed` states to `expanded and `collapsed`.

* Emote collapse styling fix
2020-12-12 15:33:32 -05:00
Strencher 3ab655594b
Improve styleloader, fix clearing emotes. (#506)
* improve styleloader for local development.

* fix clearing emotes
2020-12-09 16:44:11 -05:00
Tropical db84e73f50
Fixes minor UI issues (#496)
* Minimal mode fixes/improvements, fix addon list names wrapping, improvements to secondary card text.

* bd-addon-card minimal mode fix

* fix a blankstate typo

* move noresults to it's own file, add notes for utilclasses,

* css cleanup, remove pointless feature, changelog stuff

* typo in changelog

* editor autoresize with css

* forgot to scale that properly

* linter issues

* add support for inline codeblocks in changelog and card desc

* forgot something in the editor

* this looks better as tertiary

* make bd-button-success consistent, add more button states

* change coloring on bd-meta

* fix icon in light mode

* linter
2020-11-19 12:48:51 -05:00
Strencher 91c765b853
Fixes emote menu and button hiding (#501) 2020-11-17 15:42:12 -05:00
Zack Rauen 618b577c75 Adjusts some more UI elements 2020-11-07 16:10:19 -05:00
Tropical 5dc472c645
Rewrites minimal mode, fixes various light mode issues, cleans up css, improves consistency in public servers and settings modals. (#490)
* hoping i didnt fuck things up

* more stuff

* fix social icon in light mode
2020-11-05 03:28:58 -05:00
Zack Rauen f1e0cc88cb Adds some more UX features 2020-11-04 18:04:44 -05:00
Zack Rauen e15d1d0995 Fixes markdown and layout issues 2020-11-03 21:06:07 -05:00
Zack Rauen b0c5f6ab20 Replaces Ace with Monaco
- Replaces Ace editor with the Monaco editor (the one from VSCode)
- Adds the option for listview vs gridview in addon lists
- Addon descriptions can use markdown again
- Added blankslates for no addon results and no addons installed (Thanks Tropical)
- Replaces BBD logos (social links and loading icon) with BD logos
2020-11-03 19:45:36 -05:00
Tropical 056845c621
Improves cards (#487)
* card improvements

* damn linter

* linter is shit
2020-11-03 01:57:13 -05:00
Zack Rauen 5b8f2f2de3 Adds facelist for addon content
- Redesign of addon cards
- Addon settings moved to modals
- Fixes error with extra title in PS
- Fixes error with pagination in PS
- Fixes several issues with detached windows
2020-11-02 20:47:08 -05:00
Tropical 67c29bbce5
Fixes minor coloring on CSS editor (#477)
* minor coloring fixes

* what the hell
2020-10-30 12:48:00 -04:00
Zack Rauen e992e440dc Introduces proper pagination
- Moves temporary strings to the string files.
- Adds pagination to the PublicServers module.
- Reduces the complexity and knowledge between view and connection.
- Adds loading spinner to imrpove UX.
- Removed unused CSS.
2020-10-28 00:18:44 -04:00
Zack Rauen eecdcebb01 Adds caching to public servers
Also fixes bug found by Tropical regarding confirming close with live update enabled.
2020-10-27 14:42:49 -04:00
Zack Rauen 2d38c277d2 Removes gulp dependency
Switches css building from gulp to postcss.  Gulp was unnecessary overhead since nothing else is currently using it.

Updates other dependencies.

Also adjust some of the CI build processes to use less output (aside from errors) to decrease build time.
2020-10-24 20:10:46 -04:00
Zack Rauen aef148722b Fixes button hiding settings 2020-10-24 18:30:11 -04:00
Strencher f062b153d7
Adds settings to Hide Nitro button & Gif-Picker button. (#471)
* fix the error while throwing a error

* okay then

* Update logger.js

* new setting

* rename

* okay

* okay, travis

* fix linter issues
2020-10-24 17:17:20 -04:00
Tropical 878e4b24d5
Creates a more consistent CSS editor + Less cramped public button (#470)
* fix magnifying glass on light mode, minor text miscoloring on search bars

* Better, more consistent CSS editor and less cramped public button.

* stupid linter
2020-10-24 04:11:22 -04:00
Tropical 954f8be8a3
Fixes magnifying glass on light mode, minor text miscoloring on search bars (#469) 2020-10-24 02:45:57 -04:00
Zack Rauen 60865aaaf2 Updates public servers design and api
Reworks the design of the public servers module to be more like Discord's server discovery feature.

Updates some of the API and terminology to match that of DiscordServers.com
2020-10-24 02:13:16 -04:00
Zack Rauen eb963ce247 Fixes DOMString plugin settings 2020-10-21 18:30:22 -04:00
Tropical 568c39a0c4
Converts components to use discord's native variable system (#468)
* welp lets see how this does

* more stuff + hopefully fix liter

* shorthand white values

* this damn spacing
2020-10-21 17:55:50 -04:00
Zack Rauen 5179f66884 Fixes a string 2020-10-20 18:03:41 -04:00
Zack Rauen ac8e5fefee Allows exports.default in plugins 2020-10-20 14:38:40 -04:00
Zack Rauen 37cec0ef7e Fixes settings buttons and modal size 2020-10-19 23:45:32 -04:00
Zack Rauen 707c3848ef Fixes emote menu and typo 2020-10-08 15:12:57 -04:00
Zack Rauen 5eadcd587b Fixes data transfer 2020-10-08 14:13:19 -04:00
Zack Rauen 1ca7269b34 Fixes some watcher issues
Also fixes BdApi~monkeyPatch not returning the cancel patch.
2020-10-06 17:44:10 -04:00
Strencher 4405f0df23
fix some typos (#462)
* fix the error while throwing a error

* okay then

* Update logger.js
2020-10-05 18:37:17 -04:00
Strencher 73e5d8b267
fix the error while throwing a error (#461) 2020-10-05 16:00:33 -04:00
Zack Rauen 845f5d514b Fixes all linting issues 2020-10-03 20:59:01 -04:00
Zack Rauen 30ecf92a8d Adds ability to fix duplicates
Can check for things like Name.plugin(1).js and auto-rename the file is possible.
2020-10-03 20:50:31 -04:00
Zack Rauen 30c4653b20 Fixes toasts on non-chat screens
Hopefully fixes Travis deploy as well.
2020-08-16 01:40:46 -04:00
Zack Rauen 5d9de576aa Go back to hashes 2020-07-30 15:55:00 -04:00
Zack Rauen aca2010621 Fixes colored text & 24 hour timestamps 2020-07-30 12:24:26 -04:00
Zack Rauen 99d17bf4fe Adds some final touches 2020-07-30 11:34:59 -04:00
Zack Rauen f2d4e3e8b7 Wrap with try..catch 2020-07-27 12:41:14 -04:00
Zack Rauen cea1ba5a30 Adds some more finishing touches 2020-07-26 19:11:16 -04:00
Zack Rauen 0f45dc6e22 Changes BandagedBD to BetterDiscord 2020-07-26 18:47:04 -04:00
Zack Rauen 68f73ebd3c Updates Travis CI commands 2020-07-26 05:37:11 -04:00
Zack Rauen 98ce17146a Adds transition code and some finishing touches
- Adds the latest info to the changelog
- Fixes an error with RDT
- blacklist -> blocklist for clarity
- Adds transition code for converting old BD version data to new format
- Switch to Vercel
- Add style to changelog modal
- Swap names around, no more `.min`
2020-07-26 05:34:38 -04:00
Strencher 9ba23c5648
update strings & fix the different between plugin / theme (#397) 2020-07-26 02:19:07 -04:00
Zack Rauen 9cc70e0272 Adds CONTRIBUTING and updates linting
- Adds CONTRIBUTING.md
- Updates eslintrc to be more comprehensive
- Adds linting to travis runs
2020-07-25 04:22:57 -04:00
Zack f8e3121600
Merge pull request #396 from Strencher/development
rewrite emote menu + add de translation
2020-07-24 10:53:52 -04:00
Strencher 79648edae4 Add German translation
Co-authored-by: Aaron <42084688+l0c4lh057@users.noreply.github.com>
2020-07-24 14:45:05 +02:00