Daniel Jacobs
a7ee776750
web: Fix globals.d.ts file type declarations
2024-07-23 20:06:15 +02:00
Daniel Jacobs
07033d3087
web: Use CSS scale attribute instead of non-existent scale property
2024-07-23 11:14:52 -04:00
Daniel Jacobs
281ddbf406
web: Inform screen readers not to mention virtual keyboard input
2024-07-22 11:34:23 +02:00
Nathan Adams
1c8e95a061
web: Use nesting in css
2024-07-19 19:00:35 +02:00
Nathan Adams
7dff027345
chore: 'npm run format'
2024-07-19 19:00:35 +02:00
Nathan Adams
9bfdbf24e6
web: Include static-styles css at build time, from a .css file
2024-07-19 19:00:35 +02:00
Nathan Adams
d204871e22
web: Move shadow-template to internal
2024-07-19 19:00:35 +02:00
Daniel Jacobs
e25d97195e
chore: Add newlines to ends of files
2024-07-19 14:53:21 +02:00
Daniel Jacobs
e708ec823f
web: Add more type definitions and comment about type checking oddities
2024-07-19 14:53:21 +02:00
Daniel Jacobs
5a788dc51c
web: Split shadow template into components
2024-07-19 14:53:21 +02:00
Daniel Jacobs
aec3348241
web: Remove unused global
2024-07-19 14:53:21 +02:00
Daniel Jacobs
0c878207c6
web: Use namespaces for SVG elements and split elements in template
2024-07-19 14:53:21 +02:00
Daniel Jacobs
78d2a85237
web: Add definitions to let things compile
2024-07-19 14:53:21 +02:00
Daniel Jacobs
e19e088c28
chore: Formatting
2024-07-19 14:53:21 +02:00
Daniel Jacobs
1275656b9e
web: Add changes to make shadow template one tsx element
2024-07-19 14:53:21 +02:00
Daniel Jacobs
f56c43882f
web: Use tsx for shadow template
2024-07-19 14:53:21 +02:00
TÖRÖK Attila
0721ebb699
web: Remove now unused `getAudioOutputTimestamp`
2024-07-19 14:32:21 +02:00
TÖRÖK Attila
c88d363263
web: Remove now unused `copyToAudioBuffer`
2024-07-19 14:32:21 +02:00
Daniel Jacobs
579d2ff2b7
web: Check error type instead of error message
2024-07-17 13:49:37 +02:00
Daniel Jacobs
befe226f4a
web: Fix issue with error checking in panic function
2024-07-17 13:49:37 +02:00
Daniel Jacobs
f9312e6cd8
web: On pages with restrictive CSP show open in new tab option for SWF
2024-07-17 13:49:37 +02:00
Nathan Adams
259b95c178
web: Move some internal files to internal/
2024-07-17 13:00:01 +02:00
Nathan Adams
35fb095aa2
web: Add --browserstack for testing in the cloud
2024-07-14 18:04:14 +02:00
Kamil Jarosz
6685c987ac
web: Do not show context menu when right click event is consumed
2024-07-12 15:41:08 +02:00
Nathan Adams
f5dc3c8975
web: Enable tseslint.configs.strict (it caught a bug!)
2024-07-08 11:34:35 +02:00
Nathan Adams
6e74f57318
web: Update to eslint 9
2024-07-08 11:34:35 +02:00
Nathan Adams
53d56573c1
web: Migrate to 'flat config' style for eslint
2024-07-08 11:34:35 +02:00
TÖRÖK Attila
5fb04101e1
web: Fix all context menu items appearing disabled
2024-07-05 17:10:54 +02:00
Nathan Adams
d0a37b3b61
web: More error cleanup, remove the indirection of errors through an enum
2024-07-04 13:39:06 +02:00
Nathan Adams
e67cc08da5
web: Remove ruffleIndexError as a global thing on Error, make our own Error classes
2024-07-04 13:39:06 +02:00
Nathan Adams
a8b146df3e
web: Move PanicError enum to its own file
2024-07-04 13:39:06 +02:00
Nathan Adams
b254b19be2
web: Remove PanicError.JavascriptConfiguration from rust loading - doesn't happen anymore
2024-07-04 13:39:06 +02:00
Nathan Adams
20a8d7be8a
web: Move the actual creation of panic error/actions into panic.tsx
2024-07-04 13:39:06 +02:00
Nathan Adams
5ebf876348
web: Move the creation of the github report url to panic.tsx
2024-07-04 13:39:06 +02:00
Nathan Adams
f96ca66f82
web: Simplify the actual creation of the panic screen
2024-07-04 13:39:06 +02:00
Nathan Adams
1603dfb016
web: Simplify panic action links a bit, use tsx
2024-07-04 13:39:06 +02:00
Nathan Adams
024d056418
web: Move PanicLinkInfo and createErrorFooter to own file
2024-07-04 13:39:06 +02:00
Nathan Adams
ff3d8744f0
web: Use tsx in ruffle-core, convert context menu to use tsx as proof of concept
2024-07-04 13:39:06 +02:00
Nathan Adams
01903f6aee
web: Use 'foo as X' instead of '<X>foo'
2024-07-04 13:39:06 +02:00
Wumbo
579df56ac0
web: Display save manager correctly in quirks mode
2024-06-30 13:23:16 +02:00
Wumbo
24f587a61e
web: Improve clipboard modal
2024-06-30 13:23:16 +02:00
Wumbo
e315709e1f
web: Improve hardware acceleration modal
2024-06-30 13:23:16 +02:00
Wumbo
aa26ca1d23
web: Improve video modal
2024-06-30 13:23:16 +02:00
Wumbo
f078fc3b39
web: Don't close modal upon right click
...
There was a general consensus in the Ruffle Discord that this
functionality was awkward and unneeded (on top of already not
working as intended).
2024-06-30 13:23:16 +02:00
Wumbo
64b7f2edb8
web: Use transforms for modals/context menu instead of position
...
This lets the context menu escape the bounds of the player and keeps
modals in the center of the player at small widths.
2024-06-30 13:23:16 +02:00
Wumbo
e79efb9bd9
web: Enforce nowrap on context menu items
...
This resolves (literal) edge cases where opening the context menu
too close to the right-hand side of the player would inadvertently
wrap the lengthiest menu item.
2024-06-30 13:23:16 +02:00
Wumbo
45cbb4f14e
web: Don't unnecessarily populate Save Manager
2024-06-30 13:23:16 +02:00
Wumbo
fe944e017d
web: Run formatter because I forgot to before
2024-06-30 13:23:16 +02:00
Wumbo
dfe39f4a50
web: Improve modal/context menu behavior
...
- Open modals now dim the player and prevent interaction with the
underlying content until it is closed
- Right-clicking outside of an open modal now closes it instead of
displaying the browser context menu
- Fixed a regression where right-clicking with the Ruffle context
menu open would open the browser context menu
2024-06-30 13:23:16 +02:00
Wumbo
158e2f8474
web: Core UI improvements
...
Dark mode support has been added to the context menu as well as the
the Volume and Save Manager modals. The latter two have also received
significant visual upgrades.
2024-06-30 13:23:16 +02:00