12 Commits

Author SHA1 Message Date
Kakarot 74ac036d4a Refactor core structure and notification UI
Major refactor to centralize QBCore and replace the web UI stack:

- Move QBConfig into a unified QBCore.Config and initialize QBCore.PlayerData; add shared/functions.lua.
- Remove legacy client/main.lua and server/main.lua exports and update fxmanifest to include shared/functions and drop those main scripts.
- Update client event handling: adapt player data events to QBCore:Client:OnPlayerUpdated and trigger job/gang update events; remove deprecated exploitable handlers.
- Web UI rewrite: remove Vue/Quasar dependency and config module; implement a lightweight vanilla JS notification system (html/js/app.js) with updated html and css assets, plus drawtext tweaks.
- CSS overhaul for notification styling and animations; HTML head/meta/font cleanup.
- Server fixes: use QBCore.Shared.Locations in teleport command and strengthen numeric parsing/validation for coords.
- Add .gitattributes for consistent text/eol handling and small code cleanups (thread/comment removal).

These changes consolidate config/shared logic under QBCore, simplify the frontend dependencies, and fix a few parsing/event issues.
2026-05-19 18:13:35 -05:00
Kakarot fe654facee Styling update 2025-03-13 15:50:32 -05:00
Kakarot 5c60c94197 Allow defining icon
- Adds warning class
2024-02-17 06:13:47 -06:00
Kakarot 1a1640a56d Update notify
Changed styling and icons, updated cdn's
2023-05-28 18:37:55 -05:00
R0adRa93 29d159cab1 Revert "Fix drawtext error (#938)" (#944)
This reverts commit 14340bb374.
2023-02-10 17:49:56 +00:00
worapol.pan.buraphan 14340bb374 Fix drawtext error (#938)
1. Start QB-Core on a slow or low-spec computer
2. Access the Debug UI page (localhost:13172)
3. Encounter an error in the drawtext.js file
4. The issue stems from the script loading successfully but any resource call function (hideText) and sending an event message before index.html of all resources are fully loaded on NUI it make
`html
<div className="text" />` is not loaded.
2023-01-31 23:59:36 +00:00
David Malchin 7fab401ed2 Fix Styling (#758)
* style: ensure consistent indentation

* style: add spacing

* style: add newlines

* style: simplify html

* fix: update javascript indent size in contribution guidelines
2022-07-18 23:45:46 +03:00
jnccloud 2f0c82d5f9 Update HTML to reflect new location of assets 2022-03-01 13:19:41 -05:00
Idris 2723d67744 feat (drawtext): Added IdrisDose/qb-drawtext to core to hopefully slow down the usage of drawtext3d. 2022-02-13 17:26:17 +11:00
izMystic b29e31119d feat(notift): CSS classes 2021-10-22 00:14:18 -04:00
Taso e719bc6569 refactor(ui/notify): Cleanup internal code & new config options 2021-10-13 20:19:36 -04:00
Kakarot be4f57410b feat(html): New Notify System
-Replaces old notification system but is also backwards compatible so no changes necessary
- Now allows for the use of sending a table with text and caption
- Can add as many types of notifications as wanted/needed
- Configure position and icons in app,js (google icons or fontawesome)
2021-09-28 23:39:11 -06:00