Sign in
Join now
scn-chat
sharedcomputer.network
/
Star
Starred
Star
5
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
ATProto-based AI Assistant Chat interface.
Star
Starred
Star
5
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
1
1
Pulls
Pulls
Pipelines
Pipelines
scn-chat
/
apps
/
web
/
src
/
features
/
admin
/
lib
3 files
at
main
pouriade.com
·
The web app drops code nothing used, CheckboxField, LocalTime, and a second Capabilities type, keeps single-file helpers private, and moves tag parsing and the effort levels out of components into lib modules.
·
1w ago
d7b1c3e7
models.ts
The web app drops code nothing used, CheckboxField, LocalTime, and a second Capabilities type, keeps single-file helpers private, and moves tag parsing and the effort levels out of components into lib modules.
1w ago
reorder.ts
Share the admin pages' repeated pieces. queries.ts exports adminUsersKey and the AdminModelEntry type from the API, and lib/models.ts derives AdminModel, Capabilities, capabilityNames, noCapabilities, and storedModel from it, in place of the types and warning stripping copied between pages. useRolesChanged refreshes the roles and the users together, replacing the role page's and the users page's own copies, and useUsersChanged every users search. lib/roles.ts names the role lists: roleNames for choices where everyone's user role means nothing, and rolesWithUser for granting to roles. ReorderButtons and moveItem replace the Up and Down buttons the models and plugins pages each wrote. formKey in the form kit remounts a form when the record it edits changes, and the model and role pages use it.
3w ago
roles.ts
Share the admin pages' repeated pieces. queries.ts exports adminUsersKey and the AdminModelEntry type from the API, and lib/models.ts derives AdminModel, Capabilities, capabilityNames, noCapabilities, and storedModel from it, in place of the types and warning stripping copied between pages. useRolesChanged refreshes the roles and the users together, replacing the role page's and the users page's own copies, and useUsersChanged every users search. lib/roles.ts names the role lists: roleNames for choices where everyone's user role means nothing, and rolesWithUser for granting to roles. ReorderButtons and moveItem replace the Up and Down buttons the models and plugins pages each wrote. formKey in the form kit remounts a form when the record it edits changes, and the model and role pages use it.
3w ago