Commit Graph

114 Commits

Author SHA1 Message Date
Alex
845ef42338 Merge pull request #598 from Juneezee/simplify-jsx-conditional-rendering
refactor(frontend): simplify JSX conditional rendering
2023-10-14 14:48:29 -05:00
Eng Zer Jun
0efc2277dd refactor(frontend): simplify JSX conditional rendering
JSX conditional rendering can be simplified to use the logical AND
operator (&&) [1] instead of ternary operator (? :) if we want to render
something only when the conditon is true, and nothing otherwise.

[1]: https://react.dev/learn/conditional-rendering#logical-and-operator-

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-10-14 13:39:23 +08:00
faria-karim-porna
7361a35c94 Fix the font size and alignment of all the chat options of the sidebar based on issue #586
Fix the font size and alignment of all the chat options of the sidebar based on issue #586
2023-10-13 06:01:27 +06:00
Hari Raghav
e772dfaa12 Merge branch 'arc53:main' into ui-update 2023-10-10 17:53:48 +05:30
hariraghav10
f835b14902 added autofocus for user chat input 2023-10-10 17:22:10 +05:30
hariraghav10
e48df87e06 added autofocus feature for chat input div 2023-10-10 17:04:05 +05:30
ManishMadan2882
13fabaf6aa bugs fixed 2023-10-10 06:01:21 +05:30
Alex
3e2055255e Merge branch 'main' into error-state-#484 2023-10-09 23:53:14 +01:00
Alex
64a8857884 Merge pull request #529 from staticGuru/chatroom-rename-#495
Chatroom rename feature
2023-10-09 23:42:45 +01:00
Alex
cae3e7136e Merge pull request #525 from Vaibhav91one/bug/text-out-of-screen
bug(front): The text seems to go out of screen when the result is too big.
2023-10-09 23:32:34 +01:00
staticGuru
16df8d803c Fix the error state issues 2023-10-09 19:48:35 +05:30
staticGuru
3753f7d138 change the input outline border color 2023-10-09 16:12:56 +05:30
staticGuru
036297ef36 Merge branch 'main' of https://github.com/staticGuru/DocsGPT into chatroom-rename-#495 2023-10-09 14:58:21 +05:30
staticGuru
129c055fee Change the width in the tile 2023-10-09 14:44:43 +05:30
staticGuru
b49e8deb3e add the typescript props interface 2023-10-09 14:13:09 +05:30
staticGuru
17264e7872 add the outside click listioner 2023-10-09 12:50:12 +05:30
Vaibhav91one
4ca906a518 bug(front): The text seems to go out of screen when the result is too big, needed some tailwind 2023-10-09 10:44:14 +05:30
Alex
e95bc82b8e Update Conversation.tsx 2023-10-08 23:30:21 +01:00
Alex
e108833db2 Merge branch 'main' into input-hidden-issue-#474 2023-10-08 23:19:35 +01:00
Alex
71c101b82e Merge pull request #519 from SoumyadiptoPal/newBranch2
Feature: Round Corners
2023-10-08 22:46:12 +01:00
ManishMadan2882
3197c356e9 UI corrections 2023-10-09 02:36:48 +05:30
Soumyadipto Pal
823b41b7ec Merge branch 'main' into newBranch2 2023-10-08 23:53:35 +05:30
SoumyadiptoPal
16a2b3b19b Rounded the components to 3xl 2023-10-08 23:48:49 +05:30
staticGuru
6b617955b7 add the check mark logics 2023-10-08 22:31:17 +05:30
staticGuru
10cf0470cb add the conversation Tile 2023-10-08 22:09:38 +05:30
staticGuru
396697ead2 Query overlay text input issues 2023-10-08 17:36:57 +05:30
ManishMadan2882
54fdd2da57 UI checks 2023-10-08 06:26:08 +05:30
ManishMadan2882
7ee3f10a81 fix 2023-10-08 05:33:13 +05:30
ManishMadan2882
accd65a26a added the copy msg feature 2023-10-08 05:27:03 +05:30
Alex
66fd402f00 Merge branch 'main' into main 2023-10-08 00:01:43 +01:00
Alex
835a04358c Merge pull request #492 from Ankit-Matth/change_color_of_buttons
Color of all buttons and elements changed from blue to #7D54D1
2023-10-07 23:56:55 +01:00
Ankit Matth
b0085f2741 Color of all buttons and elements changed from blue to #7D54D1 2023-10-07 20:42:32 +05:30
Aditya Gupta
992f817fef Fix: Sources feature doesn't look as intended 2023-10-07 13:24:12 +05:30
staticGuru
36528fceab add issue fixes 2023-10-07 12:20:47 +05:30
staticGuru
8323b8af4d Reset the input hidden issues 2023-10-07 12:13:05 +05:30
staticGuru
0e496181a1 Fix the question input hidden issue 2023-10-07 12:03:43 +05:30
staticGuru
f47fc7a484 add the additional div in the chat sections 2023-10-07 11:39:51 +05:30
Adarsh Jha
86c2f0716e Update conversationSlice.ts 2023-10-06 19:36:48 +05:30
ratishjain
f0e87094d6 fixed homepage 2023-10-05 23:24:09 +05:30
Alex
30299a9f04 Merge pull request #434 from QuantuM410/quantum410/frontend-placeholder
Added css attribute placeholder for search div
2023-10-05 15:55:00 +01:00
QuantuM410
70aa3b1ff1 Added css attribute placeholder for search div 2023-10-05 20:01:30 +05:30
Arnab Ghosh
437bd13fd0 Fixed Overflowing Text message when user passed a very long string without spaces 2023-10-05 14:44:18 +05:30
Arnab Ghosh
e95e084956 Fixed Empty Spaces Passed in the Input Field 2023-10-04 20:54:25 +05:30
siiddhantt
1f356a67b2 fix: added conditions for error state 2023-10-03 23:32:08 +05:30
siiddhantt
afff55045f fix: css changes 2023-10-03 10:47:15 +05:30
siiddhantt
1765a8a7f9 fix: fixes according to figma design 2023-10-02 23:22:04 +05:30
siiddhantt
180c4e855e feat: updated sources section design 2023-10-02 22:37:12 +05:30
Alex
af0e6481f8 Update Conversation.tsx 2023-10-01 21:57:12 +01:00
Hiren Chauhan
153b5c028b feat(ui): add scroll to bottom button
This will show the scroll to bottom button when user scrolls to top from the last message.

Closes #170
2023-10-02 00:15:31 +05:30
Alex
87cc3cf168 fix the styling in a box 2023-08-05 21:58:54 +01:00