Commit Graph
25 Commits
Author SHA1 Message Date
renzuzuandLuke 8eca1698cb feat(web/meu): support images as icons in context and list menu (#230)
* feat: Support image Tag in buttons

in my server. ox_lib is heavily used.
most of sample use cases for this is.
Food image,
Ingredients,
Vehicle Parts,
etc..

i believe font awesome is not enough for some use cases.

i did suggest this on v3 pending PR.
but it seems gets ignored.

here i am gonna try to push this PR.

to use this.
icon must be not existing in the options.

if both icon and image is in options, nothing will appear.

image in metadata will still appear normaly.

* tweak(web/menu): resize render image comparable to FA

* refactor(web/context): use icon prop for images

* refactor(web/list): use icon prop for images

---------

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2023-02-19 13:53:48 +01:00
Luke 829bec2592 refactor(web): move all types into typings folder 2023-02-15 13:25:44 +01:00
Luke 14341a0343 chore(web): remove unused code 2023-02-13 21:24:33 +01:00
masonschafercodes 7acad823b8 Revert "feat(web/context): mouse enter and mouse leave events (#218)"
This reverts commit 7a22da68e6.
2023-02-10 18:11:18 +01:00
Luke c9c90efaf8 Revert "refactor(client/context): rename lastHoveredContextItem variable"
This reverts commit 61db40c07d.
2023-02-10 18:11:06 +01:00
Luke 61db40c07d refactor(client/context): rename lastHoveredContextItem variable 2023-02-08 10:06:02 +01:00
masonschafercodes 7a22da68e6 feat(web/context): mouse enter and mouse leave events (#218)
* feat(web/context): mouse enter and mouse leave events

* chore(web/context): condense into one function for onHover

* feat(resource/context): cache last hovered option
2023-02-08 10:05:30 +01:00
Marcel 4a9137ad04 feat(web/progress): progress bar in context menu's metadata (#217)
* feature: progress bar in context menu's metadata

* undefined check `metadata.progress`
2023-02-06 15:42:19 +01:00
Luke d7cadfb030 refactor(web/context): strict undefined check for progress 2023-01-10 21:36:10 +01:00
Luke a73d3e63da refactor(web): remove all borders from buttons 2023-01-08 10:56:49 +01:00
Luke 9e7bf72f3a refactor(web/menu): adjust header icon color ternary 2023-01-04 20:00:29 +01:00
Luke 0d442a5b8d refactor(web/menu): remove borders from context menu buttons 2023-01-04 19:57:08 +01:00
Luke 2a1e7ff632 refactor(web): scale fade transition 2022-12-31 15:03:16 +01:00
Luke 102d58cbb1 refactor(web): context button description class 2022-12-21 14:53:25 +01:00
Luke e7d86af637 refactor(web/context): context menu mantine rewrite 2022-12-17 14:27:55 +01:00
davidanddavidxd33 49bb2a00a1 feat(web): notify and context markdown wrapper (#174)
Co-authored-by: davidxd33 <dponce@gmail.com>
2022-12-15 23:43:14 +01:00
ItsANoBrainerandLuke a6f47cfe59 feat(web): context and list menu progress bars (#166)
* Initial Commit

Adds support for progress bars to items in both context and and list menus.

* Default Color Scheme & Description Weight

Added default color scheming, and made the description for context menues a lighter font weight for separating the title vs description better.

* iconColor to Menu & Small Syntax Changes

* Update Item.tsx

* fix(web/context): syntax error

also reformat with prettier

* chore(web/menu): reformat with prettier

Co-authored-by: Luke <sabolukas03@gmail.com>
2022-12-04 10:33:25 +01:00
Luke 306b7b3670 feat(web/context): disabled buttons 2022-11-06 11:01:39 +01:00
Luke 33b70b6f1c refactor(web/context): cache context option into a variable 2022-11-05 11:20:59 +01:00
Sam Shanks 2813bb288b feat(interface/context): context menu onBack function (#122)
* feat(interface/context): back button pressed

* fix(context): types
2022-10-11 13:48:59 +02:00
Luke 473a0f480d feat(web/context): allow hiding arrow by setting it to false 2022-09-08 11:11:27 +02:00
Luke adf0994b3f feat(web): ability to not be able to close the context menu 2022-09-08 10:05:44 +02:00
Luke 4a5251b60b chore(web): add prettier and format 2022-08-27 15:58:36 +02:00
Luke 0bc185ef38 feat(web): developer drawer
Move all debug functions into a single developer drawer,

Not the best implementation as there is focus fighting going on between some elements and the drawer but will do for now without state management
2022-08-27 15:40:41 +02:00
Luke 303d81c196 feat(web/menu): initial list menu design
Highly subject to change
2022-08-04 15:04:49 +02:00