51 Commits

Author SHA1 Message Date
7c00552714 Commenting & segmenting into functions 2024-01-23 12:10:42 +00:00
6effc6799e tooltip on ticket item department & priority 2024-01-23 11:34:38 +00:00
3446c3b760 Upgrade to javascript bootstrap 5.3 2024-01-23 11:33:14 +00:00
1c5282e6c9 Removed the ticket item complex details change 2024-01-23 10:32:39 +00:00
dfef67642f Fix js error when author had no deparment 2024-01-23 09:54:50 +00:00
6f6a0f8632 Persistent state for complex ticket info 2024-01-23 09:41:33 +00:00
e342680351 User Theme saved to local storage
The theme will no longer reset to the default on page change or reload.
2024-01-23 09:18:31 +00:00
4d7f2ba3ea working on department/priority item badge 2024-01-23 08:04:27 +00:00
a482be8883 Strict tags option & css changes 2024-01-22 16:32:48 +00:00
2fb6ea6c64 Updated none-found and ticket item priority badge 2024-01-22 14:14:44 +00:00
f6568230b1 Filter spam prevention #7 2024-01-22 14:14:08 +00:00
62bd7de0be Scrollbar updater 2024-01-22 11:51:10 +00:00
c32eb91d03 Reset Ticket Items Scrollbar on State Change #17
I've added a line in the updateItemsState function to reset the scrollbar to the top when the state changes.

This fixes #17
2024-01-22 11:33:15 +00:00
863f5cf6ec Quick & Hacky Theme Toggler
Just to add the base functionality, will improve upon this later.
2024-01-22 11:15:57 +00:00
4761db6541 Updated & Isolated PerfectScrollbar JS/CSS 2024-01-22 11:14:53 +00:00
90abffac05 Ticket Item Changes & Ticket.string_datetime
Added string datetime and indicators for priority and departments.

Also added a toggle for the indicators/departments to be shown.
2024-01-22 01:05:31 +00:00
4344dfb271 Remove commented code & remake tags dropdown 2024-01-21 23:12:01 +00:00
4647236e20 Clear filter button & item priority indicator 2024-01-21 22:52:11 +00:00
ead8ae4171 theme depended subtle border colours 2024-01-20 20:47:23 +00:00
c9e59c5c66 tags and priorities now shown in ticket items 2024-01-19 17:56:10 +00:00
4e70005cac Visual fixes and changes for tickets page 2024-01-19 17:55:10 +00:00
c62b975670 Fix conflicts with bootstrap css 2024-01-19 17:54:34 +00:00
06e00f3737 Changed some colours for tickets (light/dark mode) 2024-01-19 10:05:15 +00:00
3d9da2d729 Gave currently active ticket ".active" class.
Implemented tracking for this, over the previous code which tracked the active ticket by checking it's ".bgc-grey-100" class.

This change was made because (its better and) the previous implementation was incompatible with dark mode support.
2024-01-19 10:04:17 +00:00
187153bb7c Fixed and restyled PerfectScrollbars 2024-01-19 10:02:43 +00:00
01da177cd1 Dark mode implementation step 1 2024-01-18 23:44:47 +00:00
f97bccbcec Ticket Content Loading View 2024-01-18 23:44:35 +00:00
9f65fcab71 fixed invalid page error
The page would be above 1, and then would query the API with a new filter that reduced the results to a single page, causing an error.
2024-01-18 20:22:15 +00:00
506ed5e338 Ticket JavaScript rewrite 2024-01-18 20:00:46 +00:00
c8b0b9982d Delete .gitkeep 2024-01-18 12:17:17 +00:00
6df16f054b Staticfiles Restructure - removal of assets/
Removed meaningless assets/ folder within static.

I believe its an artifact from an older Django version, but it needed to be removed to reduce clutter and use {% static %} tags.
2024-01-18 12:15:08 +00:00
da1372de6f Rate limit alert 2024-01-17 23:39:47 +00:00
79145b1e84 fix ticket template issues 2024-01-17 23:18:53 +00:00
9dce656a48 Migrate to bootstrap 5.3 2024-01-17 23:18:33 +00:00
b437071e6a Split css into several components 2024-01-17 22:12:15 +00:00
aa1ef52694 integrate API changes into frontend 2024-01-17 21:54:54 +00:00
70618f2bdb Working on template for listed tickets 2024-01-17 19:33:49 +00:00
9509bffe66 Using searchbar trigger loading view 2024-01-16 23:54:44 +00:00
dc21810add Open tickets on mobile close filter sidebar
Added line to close the filter sidebar when selecting a ticket to open on a mobile screen.
2024-01-16 16:21:14 +00:00
b8751ba315 Added custom border-radius and bg css
Added .rounded-top-0, end-0, bottom-0, start-0, for setting the respective side to have border-radius of 0.

Also added .border-none for setting boder to none.

Added bg-none for setting background to none.
2024-01-16 16:20:29 +00:00
db8206b1bd Changed departments to radio buttons 2024-01-16 13:52:41 +00:00
eb2ae9ce6b Ticket Navigation Buttons
Added buttons to move to the next or prev ticket from the current selected ticket.

Also segmented JS into functions.
2024-01-16 13:34:13 +00:00
3ef8cd20d0 Loading animation for filter and searching tickets 2024-01-16 11:23:10 +00:00
3cfdee610c "not found" message when tickets api returns none 2024-01-16 11:08:14 +00:00
e8df39ee9e Implemented Searchbox filter 2024-01-15 23:31:50 +00:00
73eeedbb36 tickets API changes & search box function 2024-01-15 00:27:39 +00:00
8a6bddeb97 Dependencies are now local 2024-01-08 00:39:46 +00:00
7d52bbec66 Changed how the user avatar is stored
its now media/users/USER_UUID/icon.webp every time.

it also defaults to static/images/defaultuser.webp
2024-01-05 22:58:43 +00:00
16de4e50a6 working on tickets modal 2024-01-05 15:05:12 +00:00
d9ecd692ef working on tickets implementation 2024-01-04 21:58:11 +00:00