Commit Graph

175 Commits

Author SHA1 Message Date
Strencher 416e50a672
Update ComponentPatcher (#875)
* Add onAdded util.

* Update ComponentPatcher

* make classes consistent, update logger import.
2021-07-07 19:55:56 -04:00
Criz Games 06a843e61e
Add support for other chrome profiles in reactdevtools.js (#802)
* Update reactdevtools.js

* Update reactdevtools.js
2021-07-07 18:46:06 -04:00
Strencher 959bdc3a4f
Fix several crashing issues (#869)
* Fix canary issue and stream crashing.

* Fix process package by NodeJS.

* Move ipc calls to IPC module.
2021-07-07 18:34:04 -04:00
Strencher d25e56cc23
Fix console error stacks. (#874) 2021-07-07 18:08:50 -04:00
Zack Rauen f8e2c2f762 Audit npm packages 2021-05-22 02:58:59 -04:00
Zack Rauen 356c7e89fa Fix settings issue
Fixes #795
Closes #792
2021-05-22 01:51:16 -04:00
Zack Rauen 25873eaa96 Update some metadata and bump version 2021-04-18 21:48:41 -04:00
Zack a187e8088f Update sk.json (POEditor.com) 2021-04-17 12:49:10 -04:00
Zack eaf87f224f Update pt-br.json (POEditor.com) 2021-04-17 12:49:09 -04:00
Zack 22ce7a7a55 Update pl.json (POEditor.com) 2021-04-17 12:49:08 -04:00
Zack c988e87346 Update de.json (POEditor.com) 2021-04-17 12:49:07 -04:00
Zack 9f1506e379 Update fr.json (POEditor.com) 2021-04-17 12:49:05 -04:00
Zack bf20c88fcf Update zh-tw.json (POEditor.com) 2021-04-17 12:49:04 -04:00
Zack eecc22d937 Update zh-cn.json (POEditor.com) 2021-04-17 12:49:03 -04:00
Zack Rauen 97f89898ab Fix startup bug for folder users 2021-04-16 19:28:34 -04:00
Zack Rauen 2ace4925a2 Adjust how locales are handled
Allows POEditor to be the main copy of translated strings (aside from en-US)
2021-04-15 22:35:08 -04:00
Tropical 2779d9bc4f
Update various pieces of UI
- fix minimal mode
- revamp addon error modal
- restyle some aspects of toasts (includes light mode support)
- overhaul addon error modal (thanks to @Strencher for some react help)
- update switches to match discord's latest design
2021-04-15 18:08:00 -04:00
Zack Rauen 01941c1178 Fix various bugs
- Fix an issue removing settings collection
- Fix bugs related to opening in system editor
- Check for guild glasses (in webpack) a little bit later to allow for slower loading
- Add addition try..catch around file operations in DataStore
2021-04-15 18:03:59 -04:00
Zack Rauen fd43ebf7b8 Clean up code, add more linting, update emote styling 2021-04-12 01:07:00 -04:00
Rom 2b4c077378
Add French translation (#649) 2021-04-08 03:10:19 -04:00
Zack Rauen ebba553ed2 Switch how assets are handled 2021-04-07 20:31:02 -04:00
Zack Rauen 1c25997c4a Fix some smaller bugs 2021-04-06 21:40:19 -04:00
Zack Rauen e1a510ab4c Revamp error modal 2021-04-06 14:09:43 -04:00
Zack Rauen aeeb95d84b Add more developer tools 2021-04-06 02:03:08 -04:00
Zack Rauen 5b1900fe3d Add initial pass at core updater
- Fix duplicate file regex
- Add core updater
- Unify versions
- Add sanity for plugin/theme folder
2021-04-05 01:43:30 -04:00
Zack Rauen 66d8d7a069 Fix bugs for plugins and themes 2021-04-03 15:56:46 -04:00
Zack Rauen 826aa7999c Add ability to remove discord's minimum size restriction 2021-04-03 00:17:55 -04:00
Zack Rauen a33279ea71 Fix issues removing settings panels
Closes #627
2021-04-02 23:49:32 -04:00
Zack Rauen b739fc6f38 Remove class normalizer 2021-04-02 23:36:55 -04:00
Zack Rauen a223806060 Add a few small features
- Fixes colored text
- Fixes detach window not showing saved css (closes #635)
- Adds option to prevent Discord from hijacking the media keys (closes #410)
- Adds command line flag to launch a vanilla version of Discord `--vanilla` (closes #337)
- Adds option for app-wide ctrl+shift+c shortcut for inspect element (closes #349)
- Adds emote blocklist to BdApi via `BdApi.Emotes.blocklist` (closes #408)
2021-04-02 23:16:23 -04:00
Zack Rauen 59d9ec3dea Update the README 2021-03-31 16:28:43 -04:00
Zack Rauen bd9b681e3f Fixes issues with bd folder 2021-03-25 12:19:55 -04:00
Zack Rauen f3f15ec72c Fix multiple bugs, change to sync loading
- Removes copy selector developer option
- Add a crash check in the injector
- Switch from throwing over the wall to using <script> elements
- Revert to synchronous loading due to above
- Don't load on login screen
- Plugin logging includes version numbers
- Fix blankslate links
- Fix changelog overflow
2021-03-18 17:50:47 -04:00
Zack Rauen 1312bca78f Fix build and add instructions 2021-03-18 10:00:12 -04:00
Zack Rauen 847ef94c25 Fix various bugs and toolchain
- Fix an issue where dist might not have the proper package.json
- Fix an issue with PublicServers adding button to guild list
- Fix the placement of BD in settings
- Change default modal button to `primary`
- Change restart prompts to have `danger` prop
- Change tooltips to use `primary` rather than `black`
- Remove VoiceMode
- Remove DarkMode
- Give a hover effect to the public servers button
- Fix expanding icon in emote menu
- Fix over-bolded text in setting descriptions
2021-03-06 15:26:48 -05:00
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