You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/common/dialog/SearchTipsDialog.svelte had one Link component, which is now an a tag. I removed the orgsAndUsers store, which was used in order to check if the current user is logged in and write an example search. Now it's stateless.
src/common/ErrorData.svelte uses the nav helper to turn route names into URLs. This could get consolidated, since it's always wrapped in other components.
src/common/Logo.svelte has a surprising amount of logic in it. This should really just be an icon that gets wrapped in a link, and that logic should be outside the component.
src/common/HtmlField.svelte gets used in the viewer, as text entry. Will probably make a new version in SvelteKit when we have more form handling options.
src/common/Dropdown.svelte should just get replaced with src/common/Dropdown2.svelte.
I think this will ultimately get resolved by refactoring a lot of these to fit more specific needs. Going to close this but write it down as a guiding principle.
I want to limit the footprint of the router and other global-ish stores so we can move components into SvelteKit.
These ones import the router:
These use the
orgsAndUsers
store (or other related imports):These use the
layout
store:The text was updated successfully, but these errors were encountered: