Commit Graph

257 Commits

Author SHA1 Message Date
Zack Rauen a57d607a73 Add focus lock to fallback root 2023-09-22 16:29:36 -04:00
axolotl b62deff140
Add custom `--os-accent-color` css value (#1663)
* Add custom -bd-accent-color css value

* Use global variable for accent color

* Fallback to ""

* Run accent color ipc call in parallel

* Typo
2023-08-30 00:23:14 -04:00
Zack Rauen 3a313eacd8 Fix untranslated strings
Fixes #1651
2023-08-29 00:40:35 -04:00
Zack Rauen 573adb90b5 Remove outdated strings 2023-08-29 00:33:24 -04:00
Zack Rauen b0a44153d0 Improve CSS editor
fixes #1645
2023-08-29 00:18:30 -04:00
Zack Rauen 0df0093e6b Switch all other buttons to component 2023-08-28 23:47:20 -04:00
Zerebos 9f950c10f0
Merge pull request #1635 from BetterDiscord/modals
Reduce reliance on internals and improve UI consistency
2023-08-28 22:33:36 -04:00
Zerebos 0558e92161
Merge pull request #1655 from BetterDiscord/development
Merge changes from development branch
2023-08-28 22:29:27 -04:00
Zack Rauen 5d9452a052 Improve fetch errors 2023-08-05 22:16:45 -04:00
Zack Rauen 54f655c204 Update version and changelog 2023-06-15 15:38:26 -04:00
Zack Rauen 203cf6ddac Add modal layer css 2023-06-15 13:11:03 -04:00
Zack Rauen ec9243c12d Fix new imports 2023-06-14 22:17:10 -04:00
Zack Rauen 2554ea1b1f Merge branch 'development' into modals 2023-06-14 22:10:37 -04:00
Zerebos cb08178b77
Merge branch 'development' into imports 2023-06-14 20:55:13 -05:00
Zerebos fdc117e02f
Merge pull request #1610 from BetterDiscord/fetch-api
Fetch API
2023-06-14 20:53:52 -05:00
Zack Rauen 9bb71d6462 Fix tooltip search 2023-06-14 21:17:44 -04:00
Zerebos 9bfd078695
Merge pull request #1514 from BetterDiscord/feat/webpack-aliases
Add webpack aliases.
2023-06-14 20:12:29 -05:00
Zack Rauen 88d9687575 Use custom stack 2023-06-14 19:35:43 -04:00
Zack Rauen b5ad46a63f Reduce reliance on internals 2023-06-14 19:35:43 -04:00
Zack Rauen 815d91e76f Separate changelog modal 2023-06-14 19:35:43 -04:00
Zack Rauen 4cb8964aa8 Start moving away from Discord components 2023-06-14 19:35:35 -04:00
Strencher be4f788a03
Fix patching context menu (#1633) 2023-06-14 13:10:01 -04:00
Zack Rauen 09d883007e Add store search and fix others 2023-06-09 09:29:19 -04:00
Strencher 47da3f4d75
Fix openContextMenu function (#1632) 2023-06-08 22:36:36 -04:00
Zack Rauen 0acc5a6f85 Change to prototype keys 2023-05-24 18:57:09 -04:00
Strencher 83c0c81079 Cleanup & Improvements
- Rename `getByProps()` to `getByKeys()` and deprecated *byProps methods & filters.
- Fix a couple string errors
- Rename `getByPrototypes()` to `getByPrototypeFields()`
- Rename `getMangled()` to `getWithKey()`
2023-05-24 23:00:42 +02:00
benji78 a369b5a0f9
Closes #1615 (#1616) 2023-05-24 14:55:21 -04:00
Neodymium f629f0a851
Fix window size retention (#1612) 2023-05-24 14:54:04 -04:00
Zack Rauen 8386da0722 Fix fetch methods 2023-05-24 14:08:26 -04:00
Zack Rauen a9d6d6ad11 Fix for polyfill modules 2023-05-19 19:38:26 -04:00
Zack Rauen 9bbf318a86 Revamp all imports 2023-05-19 18:37:21 -04:00
Zack Rauen 9bf16a8b98 Adjust module import namespace 2023-05-19 17:14:55 -04:00
Zack Rauen 72a71ad53e Adjust common module import 2023-05-19 16:38:45 -04:00
Zack Rauen 471b1f0343 fix tests 2023-05-16 02:47:05 -04:00
Strencher bc6a0632de Code cleanup, deprecation notice, add maxRedirects 2023-05-01 21:36:56 +02:00
Fede eb814160fe
Fix header color in light mode (#1453)
* Fix header color in light mode

* Add fallback color on SettingsTitle
2023-04-17 15:17:28 -04:00
Zerthox d25dae12f4
More documentation improvements (#1509)
* Doc fixes & consistency

* Document animate timing function

* Fix missing return docs

* Fix UI class description

* Document debounce params & return

* Document className return

* Remove internal context menu noBlurEvent

* Improve period & hyphen consistency

* Fix capitalized primitive types
2023-04-17 15:12:00 -04:00
Neodymium 022b8fa380
Fix module search warnings (#1608)
- Fix module search warnings
- Add checks to other methods
- Fixes #1589
2023-04-13 13:39:55 -04:00
Strencher 1f48d22e53 fetch api & apply fix current https 2023-04-12 23:20:20 +02:00
square 900df71f20
Fix context menus (#1600)
* Fix context menus

* bump changelog & version

---------

Co-authored-by: Strencher <46447572+Strencher@users.noreply.github.com>
2023-04-08 14:55:54 +02:00
square 2fbd3c6090 Bump to 1.9.1 2023-03-25 13:25:22 +01:00
Strencher fbff8e2e52 Fix:
- Fix sourceURL for client bundle
- Fix export getters throwing errors
2023-03-24 17:32:11 +01:00
Zack Rauen 528ababa9f Bump to 1.9.0
- Fixes #1578
- Fixes #1516
2023-03-22 15:36:23 -04:00
Zerebos b0001f181e
Hotfix markdown parser (#1575) 2023-03-22 15:00:48 -04:00
Zerebos acd994e60f
Remove outdated functions (#1576) 2023-03-22 14:59:54 -04:00
Zerebos cec522189f
Remove public servers (#1577) 2023-03-22 14:59:39 -04:00
Zack Rauen b41092385e Fix keybind 2023-03-22 12:23:40 -04:00
Zack Rauen 8d3f01bb40 Fix addoncard and addonlist 2023-03-19 23:41:39 -04:00
Zerebos 7b58be079d Lint functional hooks 2023-03-19 22:24:34 -04:00
Zerebos c2d1e4505f Fix issue with dropdowns crashing 2023-03-13 16:32:51 -04:00
Zack Rauen 91341958d4 Convert editors 2023-03-08 22:09:26 -05:00
Zack Rauen 001a50e762 Convert various remaining components 2023-03-08 20:09:10 -05:00
Zack Rauen 717c9026f4 Convert settings components 2023-03-08 20:08:48 -05:00
Zack Rauen 99aa7ac1a8 Convert floating windows 2023-03-08 20:07:36 -05:00
Zack Rauen 7d71d4f450 Include catch in wrappers 2023-03-08 20:07:10 -05:00
Zack Rauen 0d57129de7 Convert settings types 2023-03-06 19:17:28 -05:00
Zack Rauen 2976a4cf00 Convert stateless components 2023-03-06 02:50:48 -05:00
Zack Rauen c6d58bdc2d Convert icons to functional components 2023-03-06 02:16:00 -05:00
Zerebos 400a6776e4
Implement semver version checking (#1560) 2023-03-04 13:15:19 -05:00
Zerebos 4992d7bd17
Restore sizes below minimum (#1563)
- Fixes #1526
2023-03-04 13:14:00 -05:00
Zerebos b266368e46
Use cmd on mac (#1562) 2023-03-04 13:13:42 -05:00
Zack Rauen d1183633c0 Fix changelog and bump version 2023-03-01 16:45:04 -05:00
Zerebos f3b26fbd4d
Fix settings, tooltips, modals (#1542)
* Lazy load sidebar header

* Publish CSS

* Swap to standalone header

* Fix Tooltip component
* Moves internal reference to the centralized DiscordModules.Tooltip component
* Adds `BdApi.Components` namespace with the `Tooltip` component.

* Add Components namespace to bound api

* Fix modal root

* Fix ContextMenu, Fix Modals

---------

Co-authored-by: Strencher <46447572+Strencher@users.noreply.github.com>
2023-03-01 16:24:10 -05:00
Strencher 99f8bc29a8
Swap to standalone header (#1530)
* Lazy load sidebar header

* Publish CSS

* Swap to standalone header
2023-02-21 17:11:59 -05:00
Sam 62d776844c
Fix danger context menu option (#1523) 2023-02-09 16:58:33 -05:00
Strencher 68c6b81ed7 Implement options for
- getByProps() methods
- getByPrototypes() methods
- getByString() methods
2023-01-26 00:00:16 +01:00
Strencher 97138afb7d Fix typo & options 2022-12-31 17:44:01 +01:00
Strencher 9875068228 Add webpack aliases. 2022-12-29 23:27:52 +01:00
Zack Rauen daafbf51b1 Change version for hotfix 2022-12-14 15:26:36 -05:00
Strencher 5b8a173aa0 Fix ContextMenu part two 2022-12-13 02:59:28 +01:00
Zack Rauen 9d7264be96 Update version and changelog 2022-12-12 19:41:16 -05:00
Strencher d2594463c0 Fix for Canary & PTB
* Adds better error handling on startup for the ContextMenu API.
2022-12-13 00:04:29 +01:00
Zack Rauen 5536bac463 Improve update version checks 2022-12-10 20:59:26 -05:00
Zack Rauen a172baa6c8 Change update check to be more accomodating 2022-12-08 17:17:53 -05:00
Zerebos d2a1a29d6d
Remove all references of emotes (#1467) 2022-11-06 14:37:15 -05:00
Zerebos 03efbfd447
Change how patching modules works (#1474) 2022-11-06 14:33:47 -05:00
Zerebos 7442dde2fa
Change LICENSE + update and clean several parts of repo (#1459)
* Update license and contributing, add new CoC

* Remove outdated info, update issue templates

* Fix more links and wording
2022-10-20 13:56:58 -04:00
Zack Rauen 548552dfe2 Fix plugin settings and invites 2022-10-17 18:05:08 -04:00
Zack Rauen f0bf331933 Fix an issue with the core updater 2022-10-15 18:15:03 -04:00
Zack Rauen 1dd9df2f48 Update version and changelog 2022-10-15 01:00:14 -04:00
Zack Rauen 90338e9b84 Move strings to be translatable and lint 2022-10-13 23:42:05 -04:00
Zack Rauen 7959260f29 Fix various api issues 2022-10-13 21:53:41 -04:00
Strencher c0543586cb Fix ContextMenu Patcher 2022-10-12 22:08:27 +02:00
Zack Rauen 1165043908 Skip checking useless documentElement exports 2022-10-11 16:57:51 -04:00
Strencher 2012dae121 Fix patcher 2022-10-11 22:53:53 +02:00
Zack Rauen 840af61b3c Update version and changelog 2022-10-10 15:00:37 -04:00
Zack Rauen c3d4313b8e Fix an issue with public servers and documentation 2022-10-10 14:33:36 -04:00
Zack Rauen 9c0a8747f3 Make updater responsive 2022-10-10 02:32:57 -04:00
Zack Rauen a984bf08b0 Fix getLazy
- Fix getLazy not passing options to getModule
- Fix rm, rmSync missing in fs
- Remove useless code in searchExports iterator
2022-10-09 19:42:53 -04:00
Zack Rauen af1a26c333 Fix various bugs
- Show public servers on startup
- Update plugin tab on load/unload
- Finish switching searchGetters to searchExports
- Add disabled class to addon cards
- Fix/rebuild changelog modal
2022-10-09 18:22:07 -04:00
Zack Rauen a9220996b5 Fix public servers 2022-10-09 13:49:29 -04:00
Zack Rauen a13422df11 Adjust webpack search 2022-10-08 20:04:56 -04:00
Strencher b1cbe8b93b feat: BdApi.ContextMenu
* Allows patching & creating context menus.
2022-10-09 01:07:12 +02:00
Zack Rauen 5780cc23c2 Fix freezing api and add updater css 2022-10-08 17:00:18 -04:00
Strencher 32bf2be211 Fix Modals, Toasts
* Make external modules be cached
* Fix ConfirmationModal component being found wrong
* Make default modal actually be standalone and be used for react crash fallback
* Fixes toasts showing up in the crash screen
2022-10-08 22:28:56 +02:00
Strencher dd97539da3 Make patcher work with getters 2022-10-08 10:40:45 +02:00
Zack Rauen 46c57567d0 Rework updater and add UI 2022-10-03 04:40:18 -04:00
Zack Rauen 70194a7114 Add common setting types 2022-10-03 02:49:54 -04:00
Zack Rauen 87652dab8e Restructure API, condense DOM modules 2022-10-02 23:34:45 -04:00
Zack Rauen 6454b63f6b Add tooltip 2022-10-02 23:34:41 -04:00