This repository was archived by the owner on Feb 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
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
…click on chat tab
…store and fixed fixtures
…removed conditions for set up integrations button
Conflicts: src/components/Toolbar/Toolbar.tsx Changes to be committed: modified: package-lock.json modified: package.json new file: public/agent.gif new file: public/commands.gif modified: src/__fixtures__/chat.ts new file: src/__fixtures__/checkpoints.ts modified: src/__tests__/PinMessages.test.tsx modified: src/__tests__/RestoreChat.test.tsx modified: src/app/store.ts modified: src/components/Buttons/Buttons.tsx modified: src/components/Chat/Chat.tsx modified: src/components/ChatContent/UserInput.tsx new file: src/components/ChatForm/AgentCapabilities.tsx modified: src/components/ChatForm/ChatControls.tsx modified: src/components/ChatForm/ChatForm.tsx modified: src/components/Dropzone/Dropzone.tsx modified: src/components/IntegrationsView/IntegrationsView.tsx modified: src/components/Toolbar/Toolbar.tsx modified: src/components/Tour/Tour.tsx modified: src/components/Tour/TourBubble.tsx modified: src/components/Tour/TourEnd.tsx modified: src/features/App.tsx modified: src/features/Chat/Thread/actions.ts modified: src/features/Chat/Thread/reducer.ts modified: src/features/Chat/Thread/selectors.ts modified: src/features/Chat/Thread/types.ts modified: src/features/Chat/Thread/utils.ts new file: src/features/Checkpoints/CheckpointButton.tsx new file: src/features/Checkpoints/Checkpoints.module.css new file: src/features/Checkpoints/Checkpoints.stories.tsx new file: src/features/Checkpoints/Checkpoints.tsx new file: src/features/Checkpoints/CheckpointsStatusIndicator.tsx new file: src/features/Checkpoints/checkpointsSlice.ts new file: src/features/Checkpoints/index.ts new file: src/features/Checkpoints/types.ts new file: src/features/Checkpoints/utils.ts modified: src/features/Tour.tsx new file: src/hooks/useCheckpoints.ts new file: src/hooks/useRestoreCheckpoints.ts modified: src/hooks/useSendChatRequest.ts modified: src/services/refact/chat.ts new file: src/services/refact/checkpoints.ts modified: src/services/refact/consts.ts modified: src/services/refact/types.ts new file: src/utils/extractLinkFromPuzzle.test.ts modified: src/utils/extractLinkFromPuzzle.ts new file: src/utils/formatDateToHumanReadable.ts new file: src/utils/formatPathName.ts
…in updates the usage.
Conflicts: package-lock.json package.json src/components/Toolbar/Toolbar.tsx Changes to be committed: modified: package-lock.json modified: package.json
alashchev17
suggested changes
Jan 31, 2025
Member
alashchev17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks mostly OK, but it could be nice to fix jumping UI on magic link request through email
20250131-1920-16.1013301.mp4
alashchev17
approved these changes
Feb 3, 2025
Member
alashchev17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
MarcMcIntosh
added a commit
that referenced
this pull request
Feb 11, 2025
* wip: thread stream. * wip(chat-db): add middleware to connect to db and get threads. * fix(jb images): remove "add image" button from jetbrains. (#211) * fix(jb images): remove "add image" button from jetbrains. * fix(jb images): make `images` a configurable feature. * wip(knowledge): add sub end point. * wip(knowlage db): handle insert, update and delete operations. * wip(memories): add a basic ui for rendering memories. * wip(knowledge): add create, delete and search services. * wip(knowledge): add url for updating usage. * wip(knowledge): add the knowledge page to the sidebar. * wip(knowledge): add a basic form for adding knowledge. * wip(knowledge form): add back button. * wip(knowledge): add back in listAll and add a scroll area to memories list. * wip(knowledge): list all and subscribe * wip(knowledge): add delete functionality. * ui(knowledge): change the orientation of the data-list depending on size * wip(knowledge list): remove properties the user doesn't need to see from the data list. * ui(knowledge list): remove data list and use `m_goal` as the title and `payload` as content. * feat(knowledge): add a like button. * ui(thumb): change like button from tick to thumb. * refactor(knowledge): remove project, type and origin from add knowledge form * refactor(knowledge): remove `mem-list` endpoint. * feat(knowledge): hide behind a feature flag. * feat(feature menu): add a hidden feature menu. * wip(knowledge): add the ability to edit knowledge. * fix(feature menu): only allow the code to be entered when nothing if focused. * wip(knowledge search): add comments and rough search handler * feat(knowledge): add quick search and fix features usage * fix(features): add links to setting for features set in settings. * chore*knowledge): fix linter warnings * wip(knowledge): add `mem-upd` handler for updating memroies. * wip(knowledge): add status to subscription payload. * wip(knowledge): add vectorisation status information. * wip(knowledge): animate db button while parsing. * wip(knowledge): debouce search and cache vecdb status. * refactor(knowledge): move components to separate files. * ui(knowledge): add titles to the forms. * ui(knowledge): add padding to items so the scroll bar isn't over the boarder * linter: allow log for unsupproted type in knowledge stream. * fix(knowledge): don't wait for consumeStream to resolve, this allows the stream to hangup. * fix: refetch button if counter state is disaligned on frontend with inference * fix: user.refetch instead of reset of API state * fix: updating state of agent usage on refetch of user * fix: void expression for async refetchUser * 2.0.3-alpha.25 * 2.0.3 * feat(knowledge): create knowledge from chat. * wip(knowledge): add a reducer and event listener for the current project name to pass to "/v1/trajectory-save". * wip(knowledge): export active_project types for vscode. * fix(knowledge): if the chat is an integration use the project from the integration data. * wip(knowledge): add a story with a knowledge tool call. * wip(knowledge): add basic ui for updating knowledge useage. * fix(knowledge): hang up on unmount. * wip(knowledge): move subscribe to a thunk so it can hangup requests. * 2.0.4-alpha.0 * fix(caps): refetch caps on mount or arg change. (#307) * fix: unified limit exhausted message across app & adjusted text * fix: better wording * 2.0.4-alpha.1 * fix: updated offline message * fix: increased size for input field * fix: if only one chat tab left and active tab is dashboard, allowing click on chat tab * feat: upgrade to pro button in main dropdown & reworked links in dropdown * fix: show plugin settings if jetbrains, otherwise extension settings * chore: revert deletion of integrations * chore: revert deletion of integrations * fix: startup keyword shouldn't be null * wip(updated tour): integrations step & updated refs * feat: updated onboarding with new data & small adjustments to the UI * 2.0.4-alpha.2 * wip(checkpoints): ui for popup and user input * wip(checkpoints): truncation of links for files * wip(checkpoints): storing checkpoints for user messages * wip(checkpoints): API handler, typeguards, saving restore results to store and fixed fixtures * wip(checkpoints): fixed types issue * wip(checkpoints): fix of tests * wip(checkpoints): stubs for checkpoints & storybook * feat(checkpoints): undo functionality & refactoring * chore: fixed types for CI * refactoring(checkpoints): extracted logic and functions to useCheckpoints hook * chore: parsing error text adjusted * fix: make checkpoints optional & hiding revert changes button if there are no checkpoints * fix: support esc key press & click out of the dialog to close it * chore: removed convertUTCToLocalTime() util * fix: remove hardcoded locale en-GB to use system one * feat: reworked logic & improved UI/UX * chore: better wording with dates * fix: checking for index of of current message instead of checking for user messages amount * fix(onboarding): updated GIF and links for final screen * fix: updated tour ending * 2.0.4-alpha.3 * fix: fixed validation of paths for puzzle links on Windows, adjusted texts * improve(puzzle_links): extractLinkFromPuzzle unit tests coverage * fix: tour blinking on restart & typos & unified titles for buttons & removed conditions for set up integrations button * 2.0.4-alpha.4 * 2.0.4 * 2.0.5-alpha.0 * Feat: Agent Capabilities (#321) * feat: better controls for agentic features * wip(chat-db): add knowledge sub thunk. * fix: clear memery when make a new request * wip(knowledge): move search to a thunk. * Login rework (#320) * 2.0.4-alpha.0 * fix(caps): refetch caps on mount or arg change. (#307) * fix: unified limit exhausted message across app & adjusted text * fix: better wording * 2.0.4-alpha.1 * fix: updated offline message * fix: increased size for input field * fix: if only one chat tab left and active tab is dashboard, allowing click on chat tab * feat: upgrade to pro button in main dropdown & reworked links in dropdown * fix: show plugin settings if jetbrains, otherwise extension settings * chore: revert deletion of integrations * chore: revert deletion of integrations * fix: startup keyword shouldn't be null * wip(updated tour): integrations step & updated refs * feat: updated onboarding with new data & small adjustments to the UI * 2.0.4-alpha.2 * wip(login): add un-themed accordion. * wip(accordion): light mode style * wip(accordion): support light and dark mode. * ui(accordion): use theme colour. * wip(login): add basic ui for login page. * ui(login): add padding to the container for the login page. * wip(login): add msw handlers for story book. * wip(checkpoints): ui for popup and user input * wip(checkpoints): truncation of links for files * wip(checkpoints): storing checkpoints for user messages * wip(checkpoints): API handler, typeguards, saving restore results to store and fixed fixtures * wip(checkpoints): fixed types issue * wip(checkpoints): fix of tests * wip(checkpoints): stubs for checkpoints & storybook * feat(checkpoints): undo functionality & refactoring * chore: fixed types for CI * refactoring(checkpoints): extracted logic and functions to useCheckpoints hook * chore: parsing error text adjusted * fix: make checkpoints optional & hiding revert changes button if there are no checkpoints * fix: support esc key press & click out of the dialog to close it * chore: removed convertUTCToLocalTime() util * fix: remove hardcoded locale en-GB to use system one * feat: reworked logic & improved UI/UX * chore: better wording with dates * fix: checking for index of of current message instead of checking for user messages amount * fix(onboarding): updated GIF and links for final screen * fix: updated tour ending * 2.0.4-alpha.3 * wip(email login): add hooks and msw interception for storybook * ui(login): small ui adjustments. * wip(login): handle canceling email polling. * fix(email login): remember to set api key on success. * wip(login): send setup host event to ide. * fix(email login redirect): quick fix, will need to look closer at App.tsx routing. * fix: fixed validation of paths for puzzle links on Windows, adjusted texts * improve(puzzle_links): extractLinkFromPuzzle unit tests coverage * fix: tour blinking on restart & typos & unified titles for buttons & removed conditions for set up integrations button * wip(login): remove old login pages. * feat: better controls for agentic features * test(start enw chat): for some reason stubResizeObserver wasn't being called :/ * wip(login): add provider icons. * refactor(agent usage): move usage update to getUser hook so email login updates the usage. * ui(login): add title. * fix(email message): add missing hooks. * fix(console.log): remove console log. * ui(login): fix ui jumping when changing text. * ui(login): allow all items to be collapsed. * ui(login): remove text changes because of jumps. --------- Co-authored-by: alashchev17 <andrew.lashchev15@gmail.com> * refactor: remove old chat-db code. * fix: preventing user from re-navigation, if history, welcome or chat pages are already in pages history * Feature: Deepseek Reasoning support (#312) * 2.0.4-alpha.0 * fix(caps): refetch caps on mount or arg change. (#307) * fix: unified limit exhausted message across app & adjusted text * fix: better wording * 2.0.4-alpha.1 * fix: updated offline message * fix: increased size for input field * fix: if only one chat tab left and active tab is dashboard, allowing click on chat tab * feat: upgrade to pro button in main dropdown & reworked links in dropdown * fix: show plugin settings if jetbrains, otherwise extension settings * chore: revert deletion of integrations * chore: revert deletion of integrations * fix: startup keyword shouldn't be null * wip(updated tour): integrations step & updated refs * feat: updated onboarding with new data & small adjustments to the UI * 2.0.4-alpha.2 * feat: THINKING_AGENT mode support for deepseek-reasoning model * wip(checkpoints): ui for popup and user input * wip(checkpoints): truncation of links for files * wip(checkpoints): storing checkpoints for user messages * wip(checkpoints): API handler, typeguards, saving restore results to store and fixed fixtures * wip(checkpoints): fixed types issue * wip(checkpoints): fix of tests * wip(checkpoints): stubs for checkpoints & storybook * feat(checkpoints): undo functionality & refactoring * chore: fixed types for CI * refactoring(checkpoints): extracted logic and functions to useCheckpoints hook * chore: parsing error text adjusted * fix: make checkpoints optional & hiding revert changes button if there are no checkpoints * fix: support esc key press & click out of the dialog to close it * chore: removed convertUTCToLocalTime() util * fix: remove hardcoded locale en-GB to use system one * feat: reworked logic & improved UI/UX * chore: better wording with dates * fix: checking for index of of current message instead of checking for user messages amount * fix(onboarding): updated GIF and links for final screen * fix: updated tour ending * 2.0.4-alpha.3 * fix: fixed validation of paths for puzzle links on Windows, adjusted texts * improve(puzzle_links): extractLinkFromPuzzle unit tests coverage * fix: tour blinking on restart & typos & unified titles for buttons & removed conditions for set up integrations button * feat: better controls for agentic features * feat: showing deepseek reasoner option only for PRO users, placing it in a correct place of all agentic features * chore: fix component file from merge conflicts * feat: better wording & hiding agent features if restored thread tool use is not agent * chore: better semantic name for reasoning switch component * fix: useGetUser to get user instead of outdated useLogin * 2.0.5-alpha.1 * ui(knowledge): move like button to bottom of last assistant message. * fix: cut off for mock data in agent rollback * 2.0.5-alpha.2 * wip(knowledge): make tool button look nicer. * wip(knowledge): add spacing around tool content. * wip(knowledge): add msw handler for updating usage. --------- Co-authored-by: alashchev17 <andrew.lashchev15@gmail.com> Co-authored-by: Andrii Lashchov <84778697+alashchev17@users.noreply.github.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Login rework
Description
Reworks the login so that cloud, enterprise, self hosted and BYOK are all on the same page.
Type of change
How to Test
Logout and test each of the login options in an ide.
Screenshots (if applicable)
Checklist
Linked Issues
https://refact.fibery.io/Software_Development/Sprint-2025-01-27-471#Feature/Improve-Plugin-login-UX-58
Additional Notes
I have found some old code for calculating agent usage on the front end, when login in through gmail or github (email doesn't have this data).