1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00
Commit graph

176 commits

Author SHA1 Message Date
b9651b270b 🔧 Disable deleting a notebook while it's locked 2021-10-17 01:32:28 +02:00
e58c8d80e9 🔧 Create useApplyChanges hook 2021-10-17 01:32:28 +02:00
a06acf6bfb 📔 Document SafetyButton 2021-10-17 01:32:28 +02:00
ac50a1d530 🔧 Create useFormSlug hook 2021-10-17 01:32:28 +02:00
ae11406290 🔧 Improve validators names 2021-10-17 01:32:28 +02:00
0c528b0f7c 🚧 idk notebook stuff 2021-10-17 01:32:28 +02:00
1f1b0c6e41 💥 Implement group creation, deletion and editing 2021-10-14 03:43:05 +02:00
b8c9ee7a48 🧹 Fix warnings 2021-10-13 16:24:22 +02:00
4e509c2721 🔧 Improve group flow 2021-10-13 05:21:38 +02:00
6c690312b9 🔧 Improve login flow 2021-10-13 05:14:50 +02:00
bfea7497ff 🔧 Generify DescriptionBox 2021-10-13 05:05:34 +02:00
a9efd9dc3a 🔧 Add an icon to ResourceDescriptionBox 2021-10-13 04:51:55 +02:00
c642ba62c4 Generify ResourceDescriptionBox 2021-10-13 04:45:53 +02:00
222104e051 🐛 Prevent mysterious bug on group deletion 2021-10-13 04:29:24 +02:00
6ec92ac07b 🧹 Improve GroupCreateBox code quality 2021-10-13 04:26:01 +02:00
2b47f097b1 💥 Disallow group members from editing group name and description 2021-10-13 03:52:06 +02:00
5b62f534f0 🐛 Fix rerenders on every location change 2021-10-13 03:39:38 +02:00
7ebc8a82d8 Add group edit box 2021-10-12 05:27:39 +02:00
f3069817c1 Add GroupMembersBox 2021-10-12 04:40:48 +02:00
eea6d14636 📔 Document context/cache 2021-10-12 04:16:13 +02:00
cd8dfb14d0 🔧 Move users list to its own context 2021-10-12 04:12:17 +02:00
eb7d0ed84e 🐛 Allow useViewSet and useManagedViewSet to return undefined 2021-10-12 04:03:03 +02:00
beaf162ce5 🔧 Simplify GroupDeleteButton 2021-10-12 03:36:29 +02:00
bbab78c60c 💥 Improve things here and there 2021-10-12 03:24:55 +02:00
a4df345fdc 💥 Improve GroupResourcePanel 2021-10-12 02:26:27 +02:00
23d463f434 Create GroupDescriptionBox 2021-10-12 02:17:54 +02:00
176cfa698a Add group deletion button for owners of a group 2021-10-11 19:13:32 +02:00
0c487473e2 🔧 Count the owner of the group in its members 2021-10-11 18:53:28 +02:00
36c5ead53d 🔧 Enable the create button only if all required fields have been filled 2021-10-11 18:50:03 +02:00
7c0bef7aa0 🔧 Draw the error row only if there's a operationError 2021-10-11 18:30:58 +02:00
0a00f63b54 🔧 Make GroupCreateBox collapsible 2021-10-11 18:30:07 +02:00
f256b2886e Implement group creation 2021-10-11 18:27:17 +02:00
6f89cd6cf6 🔧 Change package name to @steffo/sophon-frontend 2021-10-11 16:58:38 +02:00
75c2e0682a ⬆ Update dependencies 2021-10-11 16:58:20 +02:00
90e8a11904 🚧 Start working on the GroupCreateBox 2021-10-10 17:40:14 +02:00
e1a9af4cff 🔧 Make button icons spin while the resource is busy 2021-10-10 17:12:53 +02:00
31fcc78049 🔧 Silence another annoying warning 2021-10-10 17:11:40 +02:00
46231ecf57 🔧 Make destroy non-generic 2021-10-10 17:11:17 +02:00
97e9304631 🔧 Silence the annoying dependency warning 2021-10-10 17:10:30 +02:00
ce6e7ec1ab Implement group joining and leaving 2021-10-10 17:02:48 +02:00
167a08a9e1 🔧 Support choosing HTTP method in useManagedViewSet 2021-10-10 17:02:35 +02:00
30b2091b97 🔧 Fix ResourceRouter, as the previous behaviour is no longer needed 2021-10-10 17:02:05 +02:00
15ca05ea4f 🔧 Store authorization data in localStorage 2021-10-10 16:34:09 +02:00
f21305d311 🔧 Default to PATCH for commands and actions 2021-10-10 16:10:59 +02:00
cd50706f5e 🐛 Fix wrong url being generated for actions 2021-10-10 16:10:10 +02:00
b048b8374a 🔧 Make ResourcePanel buttons fixed width 2021-10-10 16:02:08 +02:00
2aaa7b1cc0 Add command and action to useManagedViewSet 2021-10-10 16:01:43 +02:00
575b7fe6d4 🔧 Swap button location in AuthorizationLogoutBox 2021-10-08 17:02:02 +02:00
a9ad27804b 🔧 Change login flow 2021-10-07 20:38:57 +02:00
b2bfb61ae5 🔧 Add status text to the GroupListBox 2021-10-07 19:35:52 +02:00
338c565b87 🔧 Add status text to the ProjectListBox 2021-10-07 19:33:58 +02:00
750bdc5ca4 🔧 Add status text to the NotebookListBox 2021-10-07 19:33:19 +02:00
24f4b5847f 🔧 Add flavour text to NotebookListBox 2021-10-07 18:47:43 +02:00
51e4053990 🔧 Remove instance name from GroupListBox 2021-10-07 18:44:13 +02:00
de3624d72c 🔧 Add flavour text to ProjectListBox 2021-10-07 18:43:37 +02:00
17d138b61f 🔧 Add flavour text to GroupListBox 2021-10-07 18:36:20 +02:00
293856ebc8 Create NotebookListBox and NotebookResourcePanel and NotebookRouter 2021-10-07 05:32:38 +02:00
2823db2916 Create ProjectListBox and ProjectResourcePanel 2021-10-07 05:25:53 +02:00
1d5f142c09 Create ProjectRouter 2021-10-07 05:17:45 +02:00
abce14d1bf 💥 Walk to hell and back to type ResourceRouter and it turned out it wasn't possible 2021-10-07 05:06:31 +02:00
b67716fa7a 🤔 Add a TODO to GroupListBox 2021-10-07 02:42:46 +02:00
a7eb7a78b4 Create GroupListBox 2021-10-07 02:36:49 +02:00
a765681c3f Create GroupRouter 2021-10-07 02:14:34 +02:00
a526dfc1d4 🔧 useAuthorizedAxios in the useViewSet hook 2021-10-07 02:00:23 +02:00
cfb7eae850 🧹 Remove unused interface 2021-10-07 01:56:53 +02:00
c92a105686 🧹 Remove unnecessary dependencies from canLogin 2021-10-07 01:56:40 +02:00
2b6df6a208 🐛 Fix highlighting of the LoginBox while logging in 2021-10-07 01:56:17 +02:00
8ebb649ebe 🐛 Add trailing slash to /api/core/instance/ 2021-10-07 01:52:35 +02:00
57bc10d9a2 🔧 Fail validation if an error is returned by /api/core/instance/ 2021-10-07 01:52:16 +02:00
82eb27bf1c 🔧 Remove the messagePanel from the LoginBox 2021-10-06 18:23:40 +02:00
11bdd9fa3f Add a logout box 2021-10-06 17:59:03 +02:00
f008487a07 🔧 Make AuthorizationRouter "return" the AuthorizationState instead of true 2021-10-06 17:17:51 +02:00
2e15843702 🔧 Export more types from contexts 2021-10-06 17:17:16 +02:00
8eb5f3780a 🐛 (Re)fix ResourceRouter bug 2021-10-06 17:12:42 +02:00
6bdfaf22c7 🐛 Fix React warnings 2021-10-06 16:41:47 +02:00
7713a55919 🔧 Use <pre> in InstanceDescriptionBox 2021-10-06 04:38:19 +02:00
92e2372051 Add AuthorizationAdminBox 2021-10-06 04:38:19 +02:00
b1acd37d0f 💥 Make more progress towards the "Context" structure 2021-10-06 04:38:19 +02:00
89bf6c027c 💥 Shuffle everything around until it makes sense 2021-10-06 04:38:19 +02:00
0744c5833b 🐛 Fix a weird typescript error 2021-10-06 04:38:19 +02:00
04c6d05869 💥 Develop the "SophonInstance" components 2021-10-06 04:38:19 +02:00
c8d7ddff54 💥 Replace useContext with useLookAndFeel 2021-10-06 04:38:19 +02:00
edc45750d9 💥 Add footer and delete legacy components 2021-10-06 04:38:19 +02:00
bde02c0928 🔧 Use "LookAndFeel" components to handle theme 2021-10-06 04:38:19 +02:00
4a55af35f9 Complete the LocationViewSetRouter 2021-10-06 04:38:19 +02:00
75b3473d42 Add PathSplitter utility class 2021-10-06 04:38:19 +02:00
ec0fe93165 💥 Make progress towards the new "Context" structure
This commit is the result of multiple squashed non-atomic commits.
2021-10-06 04:38:19 +02:00
5948395fbc 🧹 Optimize imports 2021-10-06 04:38:19 +02:00
798a0ccee7 🔧 Remove Projects list from the InstancePage 2021-10-06 04:38:19 +02:00
734f8ac057 🚧 Start working on "Create object" panel 2021-10-06 04:38:19 +02:00
721c9afaef Add research projects listing 2021-09-21 18:01:46 +02:00
8604609ea7 Add user page 2021-09-21 17:32:05 +02:00
461e7469b5 Abstract some more things 2021-09-21 16:50:34 +02:00
2c1ea824f1 Complete instance customization 2021-09-21 16:22:50 +02:00
6d172a5a44 Add basic support for the instance details 2021-09-20 18:18:45 +02:00
126451f900 Add some error handling 2021-09-20 17:53:54 +02:00
99b2a5c022 Add header link 2021-09-20 17:13:35 +02:00
13e5dc14f7 🔧 Fix warnings 2021-09-20 17:08:04 +02:00
da453db439 🧹 Optimize imports 2021-09-20 16:55:05 +02:00
812237728e Fix links 2021-09-20 00:59:01 +02:00