Skip to content

Commit 88f6526

Browse files
authored
Merge branch 'develop' into refactor/loading
2 parents e8aa084 + 96c5470 commit 88f6526

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Issues and Pull Requests categorized under the PATCH or MINOR Release Milestones
3838

3939
We will aim to deploy on a 1-2 month basis. Here are some dates we’re working towards:
4040

41-
2.11.0 MINOR Release: By January 16, 2023
41+
2.12.0 MINOR Release: By February 27, 2024
4242

4343
[You can read more about Semantic Versioning and the differences between a MINOR and PATCH release](https://semver.org/).
4444

client/modules/IDE/actions/collections.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function addToCollection(collectionId, projectId) {
8080

8181
const collectionName = response.data.name;
8282

83-
dispatch(setToastText(`Added to "${collectionName}`));
83+
dispatch(setToastText(`Added to "${collectionName}"`));
8484
dispatch(showToast(TOAST_DISPLAY_TIME_MS));
8585

8686
return response.data;
@@ -110,7 +110,7 @@ export function removeFromCollection(collectionId, projectId) {
110110

111111
const collectionName = response.data.name;
112112

113-
dispatch(setToastText(`Removed from "${collectionName}`));
113+
dispatch(setToastText(`Removed from "${collectionName}"`));
114114
dispatch(showToast(TOAST_DISPLAY_TIME_MS));
115115

116116
return response.data;

client/styles/components/_editor.scss

+9-4
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pre.CodeMirror-line {
9191
position: fixed;
9292
top: 0;
9393
left: 50%;
94-
margin-left: math.div(552 * 0.5, $base-font-size);
94+
margin-left: #{math.div(-552 * 0.5, $base-font-size)}rem;
9595

9696
@media (max-width: 770px) {
9797
left: 0;
@@ -100,7 +100,7 @@ pre.CodeMirror-line {
100100
margin-left: 0;
101101
}
102102

103-
z-index: 1;
103+
z-index: 10;
104104

105105
width: 580px;
106106
font-family: Montserrat, sans-serif;
@@ -139,8 +139,11 @@ pre.CodeMirror-line {
139139
}
140140

141141
.CodeMirror-find-controls {
142+
width: 100%;
142143
display: flex;
143144
align-items: center;
145+
justify-content: space-between;
146+
height: #{math.div(35, $base-font-size)}rem;
144147
}
145148
.CodeMirror-search-inputs {
146149
width: 30%;
@@ -152,9 +155,11 @@ pre.CodeMirror-line {
152155
align-items: center;
153156
}
154157
.CodeMirror-search-controls {
158+
width: 60%;
155159
display: flex;
156-
align-items: center;
157-
justify-content: end;
160+
flex-wrap: wrap-reverse;
161+
justify-content: flex-start;
162+
align-items: flex-end;
158163
}
159164
.CodeMirror-replace-controls {
160165
display: flex;

server/controllers/user.controller.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ const random = (done) => {
3030
};
3131

3232
export function createUser(req, res, next) {
33-
const { username, email } = req.body;
34-
const { password } = req.body;
33+
const { username, email, password } = req.body;
3534
const emailLowerCase = email.toLowerCase();
3635
const EMAIL_VERIFY_TOKEN_EXPIRY_TIME = Date.now() + 3600000 * 24; // 24 hours
3736
random((tokenError, token) => {

0 commit comments

Comments
 (0)