Stirling-PDF/frontend/src/core/contexts
James Brunton a415c457e9
Add prompt to make Stirling your default PDF app (#4890)
# Description of Changes
- Adds a reusable banner component/system to the core app
- Adds banner at the top of the desktop app if Stirling isn't your
default PDF editor, with a button to make it your default
- Adds a permanent button in the settings to do it manually (in case
you've dismissed the banner)
- Simplifies the file loading logic to fix a bug where the input file
could be duplicated occasionally. Now, the TS just receives files from
one buffer, regardless of how they've been passed to the app in Rust.

## Caveats
I've only been able to get the setting of default apps working properly
on Mac. The Windows build isn't signed (yet) so we can't use the proper
API for it, so currently it just sends you to the Settings UI. I've also
not been able to test it on Linux at all.
2025-11-17 16:05:33 +00:00
..
file Feature/v2/selected pageeditor rework (#4756) 2025-11-13 12:53:57 +00:00
toolWorkflow Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
viewer Viewer update and autozoom (#4800) 2025-11-10 13:52:13 +00:00
AdminTourOrchestrationContext.tsx admin onboarding (#4863) 2025-11-10 13:47:43 +00:00
AppConfigContext.tsx Settings display demo and login fix (#4884) 2025-11-14 13:02:45 +00:00
BannerContext.tsx Add prompt to make Stirling your default PDF app (#4890) 2025-11-17 16:05:33 +00:00
FileContext.tsx [V2] feat(unzip/front-end): Implement ZIP extraction confirmation for archives over 20 files (#4834) 2025-11-12 15:18:15 +00:00
FileManagerContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
FilesModalContext.tsx Feature/v2/compare tool (#4751) 2025-11-12 14:54:01 +00:00
HotkeyContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
IndexedDBContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
NavigationContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
OnboardingContext.tsx admin onboarding (#4863) 2025-11-10 13:47:43 +00:00
PageEditorContext.tsx Feature/v2/selected pageeditor rework (#4756) 2025-11-13 12:53:57 +00:00
PreferencesContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
RightRailContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
SidebarContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
SignatureContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
ToolRegistryContext.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
ToolRegistryProvider.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
ToolWorkflowContext.tsx Feature/v2/compare tool (#4751) 2025-11-12 14:54:01 +00:00
TourOrchestrationContext.tsx styling changes (#4894) 2025-11-14 14:52:32 +00:00
ViewerContext.tsx Viewer update and autozoom (#4800) 2025-11-10 13:52:13 +00:00