Skip to content

update frontend structure#112

Closed
Liuwf4319 wants to merge 78 commits intofrontendfrom
Liuwf4319-patch-1
Closed

update frontend structure#112
Liuwf4319 wants to merge 78 commits intofrontendfrom
Liuwf4319-patch-1

Conversation

@Liuwf4319
Copy link
Contributor

Issue(s):

#110

Type of change: (choose required ones)

  • Bug fix

Description:

fixing the optional cookie part

Additional context:

fix the interface

Testing instructions:

connect to the backend and got cookie date

Vlad and others added 30 commits October 24, 2024 22:24
Implement the ability to return index and error HTML pages.
Implement the ability to 'sign up' by receiving a unique user ID, provide and revoke cookie consents.
Create index.html and error.html (both contain placeholders / 'lorem ipsum' at the moment.
Create a random string generator.
Supply static pages, assign / delete users.
Fix Github runner for debugging Java code.
Implement backend static functionality and cookies.
Add new team member's details.
- Added the Chatbot Interaction Flow Diagram
- A bit of formatting fixes
Uploaded 3 versions of the Chatbot Interaction Flow diagram to docs.
Changed the link of watson_flow.png from https://github.com... to /docs/watson_flow.png
Remove "frontend" from the branch list.
Add the client-chatbot interaction flowchart.
Revert "Supply static pages, assign / delete users."
Revert the previous incorrect merge.
Add information about Siyuan - the new team member.
Add IBMAuthenticator.java and IBMAuthenticatorTest.java .
IBMAuthenticator uses IBM IAM API key to receive temporary bearer tokens.
Bearer tokens are used to make requests to Watsonx API.
Add WatsonxAPIController.java, WatsonxResponse.java.
Rename RandomString.java to SpringTools.java, add method for preparing input strings.
Refactor IBMAuthenticator.java .
The code can now make requests to Watsonx API.
User.java now stores the value of consent to optional cookies.
Add UserTest.java - unit tests for 'User' class.
Chat.java stores information about the chat - its owner and message history.
It allows to add the user's and the AI's messages to its history.
ChatTest.java contains unit tests for the Chat class.
DatabaseController now has getUser method, improved addUser and removeUser methods.
DatabaseController now has new createChat, deleteChat and getChat methods.
Add DatabaseController unit tests.
SpringTools.messageHistoryPrepare now appends 'assistant' keyword before replacements.
Hardcode the correct system prompt to Chat.java .
Update ChatTest and WatsonxAPIControllerTest .
Improve signup and revokeConsent methods.
Add createChat, sendMessage, sendIncognitoMessage, getChatHistory methods.
Due to issues with IBM APIs, temporary disable WatsonxAPIControllerTest tests.
Add backendHTTPMethods flowchart;
Add userRegistrationFlowchart flowchart;
Both flowcharts are saved to 'docs' directory.
Move backend files out of 'backend' directory into /;
Remove 'backend' directory;
Edit the Maven Github workflow runner (runs only on 'dev' branch now);
Adjust .gitignore.
Remove 'Dependency graph' from maven.yml runner;
Dependency graphs are not supported in our repository.
feat: Add unit tests; integrate Watsonx API.
@Liuwf4319 Liuwf4319 self-assigned this Jan 15, 2025
@Liuwf4319 Liuwf4319 added bug Something isn't working Frontend Issue relates to frontend code. Beta Issue relates to Beta release. labels Jan 15, 2025
@Liuwf4319 Liuwf4319 linked an issue Jan 15, 2025 that may be closed by this pull request
RainBOY-ZZX
RainBOY-ZZX previously approved these changes Jan 15, 2025
Copy link
Contributor

@vladislav-k1 vladislav-k1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the comments to English, everything else looks well.

RainBOY-ZZX
RainBOY-ZZX previously approved these changes Jan 15, 2025
@Liuwf4319 Liuwf4319 changed the base branch from dev to frontend January 15, 2025 10:50
@Liuwf4319 Liuwf4319 changed the base branch from frontend to dev January 15, 2025 10:57
@Liuwf4319 Liuwf4319 dismissed RainBOY-ZZX’s stale review January 15, 2025 10:57

The base branch was changed.

@Liuwf4319 Liuwf4319 changed the base branch from dev to frontend January 15, 2025 10:58
@Liuwf4319 Liuwf4319 closed this Jan 15, 2025
@Liuwf4319 Liuwf4319 deleted the Liuwf4319-patch-1 branch January 15, 2025 11:06
@Liuwf4319 Liuwf4319 restored the Liuwf4319-patch-1 branch January 15, 2025 11:07
@RainBOY-ZZX RainBOY-ZZX deleted the Liuwf4319-patch-1 branch January 17, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Beta Issue relates to Beta release. bug Something isn't working Frontend Issue relates to frontend code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the front Cookies page

5 participants