Commit 46a336b
[WEB-65] [EDITOR] Make blog title editable within editor (#374)
* created styled text box for editable titles
* basic graphical functionality of renaming files done. Onto redux integration
* changed cursor to ibeam (text) when hovering over
* removed unused types
* renaming partially working -> updates on dashboard but doesn't persist on immediate refresh of editor
* fixed persistence of changes on reload issue but now it's messing up the back button ;-;
* fixed back button issue by setting replace to true -> Doesn't add to react router history :D
* added code to prevent users from naming their documents with an empty string
---------
Co-authored-by: Josh Ramos <josh.ramos@student.unsw.edu.au>1 parent 387be22 commit 46a336b
File tree
4 files changed
+93
-4
lines changed- frontend/src
- cse-ui-kit/EditableTitle_textbox
- packages/editor
4 files changed
+93
-4
lines changedLines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
23 | 31 | | |
24 | 32 | | |
25 | 33 | | |
| |||
52 | 60 | | |
53 | 61 | | |
54 | 62 | | |
55 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
56 | 91 | | |
57 | 92 | | |
58 | 93 | | |
| |||
100 | 135 | | |
101 | 136 | | |
102 | 137 | | |
103 | | - | |
104 | 138 | | |
105 | 139 | | |
106 | 140 | | |
107 | 141 | | |
108 | 142 | | |
109 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
110 | 147 | | |
111 | 148 | | |
112 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
113 | 158 | | |
114 | 159 | | |
115 | 160 | | |
| |||
0 commit comments