Skip to content
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

Ux/consolidate space mgmt #89

Merged
merged 15 commits into from
Sep 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enhancement/make selector sticky (#84)
* feat: Make the space selector box stick to the top of the page.

* chore: Cleanup files.

* chore: Add custom styling for personal ask.

* chore: Remove unused imports.

* Refactor: azureblob datasource (#79)

refactor:  Azure Blob data source - Switch data loader to our custom implementation based on OpenDAL

* docs: update AzureBlobs to match refactor
* Update `aiohttp` from 3.8.4 -> 3.8.5
* Change document file list to read from local json file (same as web scraper) rather than direct from Azure. Similar to web scraper
* refactor: move document list management methods to `SpaceDataSourceFileBased`
* add OpendalReader code + lic + copyright

* refactor: DocumentListItem
  * change from `tuple` to a `dataclass`
  * move to domain.py
* chore: remove commented code
* test:
  * unit test DocumentListItem.create_instance
  * unit test consistency between document list save and load (serialise and de-serialise).
  * move test PDF doc folder
* Various minor fixes:
   * Always have some text for `page_title` metadata to render a link. Improve default behaviour to use <title> text if no H1. "web page" if no title text.
  * pass args to DocumentListItem() in the correct order
  * handle unknown source type in metadata. This should only happen if a breaking change to the type schema is made and data isn't migrated i.e. re-index.
  * style: fix style and lint errors

BREAKING CHANGE: Azure Blob data source config scheme for credentials changes. SAS tokens are no longer supported only Account Key. Any Azure Blob data sources configured with a SAS token will stop working.

* chore: Add avatar to chat messages

* chore: Added script to format avartars.

* feat: Make the space selector box stick to the top of the page.

* chore: Remove unused imports.

* Update user avatar settings.

* chore: Attach event listeners to space selector.

* chore: Cleanup imports.

* chore: Update chat_ui script.

* feat: Make the space selector box stick to the top of the page.

* chore: Cleanup files.

* chore: Use username as email for gravatar requests.

* chore: Use identicon as avatar default

* chore: Set username in auth session state.

* chore: Cleanup imports.

* chore: Bump llama-index to 0.8.5.post2

* Update get username function

---------

Co-authored-by: Janaka Abeywardhana <contact@janaka.co.uk>
  • Loading branch information
osala-eng and janaka committed Aug 25, 2023
commit a9ec0d733028355391876c1ab9a1af6998f68ec9
2 changes: 1 addition & 1 deletion web/utils/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def _chat_message(message_: str, is_user: bool) -> None:
def _personal_ask_style() -> None:
"""Custom style for personal ask."""
st.write(
"""
"""
<style>
[data-testid="stExpander"] {
z-index: 1000;
Expand Down