Přeskočit na hlavní obsah

v1.0.4

· 2 minuty čtení
John Renfrew
Programmer and data architect

Version 1.0.4 public test release

  • Schema for metadata started
  • Preparation of supervisor dashboard page
  • Removal of unused and exerimental code to simplify project directory
  • Error page improved and added Pushover notifications
  • Experiments with cache for privateMetadata Id values

Changed the components on the trusted contacts and it looks and feels a whole lot better. Now it is using shadcn there is some control over colours and styles, but some things just do not work well as Tailwind seems to take over, and even though shadcn uses Tailwind colours, not all of them will render. I find that white buttons with white text on a white background is probably too minimalist.

portfolio

WIP

Cache works but is too hard to ensure that it is cleared beween user sessions, not normally a problem for a single user, but makes testing difficult if you change to a staff login, and the cache still thinks you are a student. Potential visibility of values in console logs so shelved until a more robust and secure solution is found. It does make a difference to the overall speed, as it reduces the need to call the Clerk object, which is in itself, defensive coding so that you can not 'jump' to any route endpoint without being logged in.

info

public metadata - front and back end

name: string
surname: string
fullName: string
userType: string
isAdmin: int
last_updated: timestamp
info

private metadata back-end only, call /api/current-user

uniqueId: string uid
studentId: int
staffId: int
superId: int
moodleId: int
individualId: int
externalId: int
email: string