forked from open-webui/open-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
POC: New OWU chat route to start #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
thlehmann-ionos
wants to merge
135
commits into
ionos-dev
Choose a base branch
from
tl/poc/new-owu-chat-route-to-start
base: ionos-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Works with podman-compose too. * Copy .env.example to .env and add proper configs Based on: https://docs.openwebui.com/getting-started/advanced-topics/development/
Ensure packages are uptodate. Therefor a wrapper script was added.
They get copied in the Dockerfile during container build, which is a nuisance during development.
v3.0 prefixed with exos-
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
in order to avoid conflicts in language files Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
in order to be able to redefine it Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Kai Henseler <[email protected]> Co-authored-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Kai Henseler <[email protected]> Co-authored-by: Misha M.-Kupriyanov <[email protected]> Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
extract configuration as human understandable variable Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
it was hidden before Signed-off-by: Misha M.-Kupriyanov <[email protected]>
exos style v3.0 * cleaned up from other tenants * removed styling of html tags * removed variables definition * prepended css classes with exos- in order no to collide with other styles sed -E 's/\.(-?[_a-zA-Z]+[_a-zA-Z0-9-]*)/.exos-\1/g' exos.foo.css > exos-prefixed.css * still uses external fonts! Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
…(model name fixed) Refs: #open-webui#208
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
it hides the content on scroll Signed-off-by: Misha M.-Kupriyanov <[email protected]>
in order for content to stay under the header Signed-off-by: Misha M.-Kupriyanov <[email protected]>
in order to restyle later Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
according UI Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
wait till help texts are defined Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
in order to be consistent Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
to be visible on white background Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Pragmatic change.
Three problems with the existing spaghetti code:
1. The Svelte code should not interact with DOM elements across
components
2. The routing is implemented in at least two places
3. The explicit goto('/') was no-op since the href had already changed
the location (thus adding the preventDefault modifier)
== Limitation
Directly navigating to / will still render Chat
For that we probably have to either change every place that explicitly
routes to / or, better, change the approach and change / to render our
own start page. This would imply bigger changes to the routing in OWU
and to our management service too.
Refs: #open-webui#205
27b9db4 to
24e4953
Compare
2a77adf to
fc7687e
Compare
865ac74 to
a837ea2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pragmatic change.
Three problems with the existing spaghetti code:
== Limitation
Directly navigating to / will still render Chat
For that we probably have to either change every place that explicitly routes to / or, better, change the approach and change / to render our own start page. This would imply bigger changes to the routing in OWU and to our management service too.
Refs: #open-webui#205