Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retrive old changes #14

Closed
wants to merge 42 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
83e87fb
default.yml에 proxyRemoteFiles 옵션을 추가함 680de20711c27843fb4127af3ddb1a0…
HotoRas Aug 9, 2024
c49a348
Merge changes from old repository
HotoRas Aug 9, 2024
779a994
Fix major issues
HotoRas Aug 10, 2024
fcd4f17
Linting (phase 1)
HotoRas Aug 10, 2024
6baf990
Linting (phase 2)
HotoRas Aug 10, 2024
3dbf476
[skip ci] Fix cypress e2e
HotoRas Aug 10, 2024
6c6f16f
Update Changelog-neko.md
HotoRas Aug 11, 2024
39930c2
[skip ci] Update Changelog-neko.md
HotoRas Aug 11, 2024
efd11f6
Create 1723585019082-noteCreatedAtMissing.js
HotoRas Aug 13, 2024
303550c
Fix: basic.cy.ts
HotoRas Aug 18, 2024
712851d
fix (frontend): 노트 업데이트 시 notes/update api를 호출하도록
HotoRas Aug 25, 2024
fd1e7d8
feat (frontend): 노트 수정 후 수정된 노트로 리다이렉션되도록
HotoRas Aug 25, 2024
4779a51
Fix (frontend): MkPostForm: updatedAt is not defined
HotoRas Aug 28, 2024
98f10ea
Fix (frontend): MkPostForm: updatedAt is not defined (2)
HotoRas Aug 28, 2024
8fa78a8
disable(backend-test): Disable failing tests
HotoRas Aug 28, 2024
2dea914
Update node version to 22
HotoRas Aug 29, 2024
e7152d3
Revert to node 20
HotoRas Aug 30, 2024
0e9a08e
feat (reimplement): update to node 22
HotoRas Sep 7, 2024
92a180a
Fix (frontend): MkPostForm: 노트 수정 모드 시 무조건 포스트가 가능하도록
HotoRas Sep 7, 2024
3e19a7c
chore (BrowsersList): Update canisue-lite
HotoRas Sep 8, 2024
6d98408
feat: note update federation (#1)
caipira113 Aug 19, 2024
5f7a58a
fix: When updating Note, emojis are not reflected through Streaming
caipira113 Aug 26, 2024
caf9eb7
[ci skip] Update changelog
HotoRas Sep 13, 2024
69ed45d
migration: set IF NOT EXISTS to column creation DDL
seojangho Sep 13, 2024
ab375e0
bugfix (migration): set IF NOT EXISTS to column creation DDL (#4)
HotoRas Sep 13, 2024
be84a11
Revert "migration: set IF NOT EXISTS to column creation DDL"
HotoRas Sep 14, 2024
d9003f1
Revert "[ci skip] Update changelog"
HotoRas Sep 14, 2024
be4d2b6
Revert "fix: When updating Note, emojis are not reflected through Str…
HotoRas Sep 14, 2024
8b870d9
Revert "feat: note update federation (#1)"
HotoRas Sep 14, 2024
9720de7
[ci skip] hotfix: Undo note update
yunochi Aug 26, 2024
a611986
Merge pull request #4 from yunochi/munochi-dev
yunochi Aug 26, 2024
5d63647
fix: 마이그레이션 코드가 해당 테이블이 있는지 확인하도록
HotoRas Sep 14, 2024
07e782a
fix: double import
HotoRas Sep 14, 2024
68cfc48
fix (lint): double definition
HotoRas Sep 14, 2024
13f40d2
fix (frontend): 빼놨던 함수가 사라져서
HotoRas Sep 14, 2024
bca0224
remove duplication
seojangho Sep 16, 2024
72e96e8
revert some of c49a34811f
seojangho Sep 16, 2024
8dfc22c
eliminate mixed usage of updateMode and editMode
seojangho Sep 16, 2024
36af302
(revert me later: temporarily)
seojangho Sep 16, 2024
60dfc8f
fix updatedAtHistory is undefined
seojangho Sep 16, 2024
91a3eb8
remove openDetail();
seojangho Sep 16, 2024
9b4bc55
Debug note edit (#5)
HotoRas Sep 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat (frontend): 노트 수정 후 수정된 노트로 리다이렉션되도록
HotoRas authored Aug 25, 2024
commit fd1e7d8c0e5dec92ee969bf50ccd37a73e46165e
5 changes: 3 additions & 2 deletions packages/frontend/src/scripts/get-note-menu.ts
Original file line number Diff line number Diff line change
@@ -218,8 +218,9 @@ export function getNoteMenu(props: {
}).then(({ canceled }) => {
if (canceled) return;
os.post({ initialNote: appearNote, renote: appearNote.renote, reply: appearNote.reply, channel: appearNote.channel, editMode: true })
.then(() => { location.reload(); });
// 노트 수정 사항이 바로 반영되지 않는 문제 수정을 위해 일단 넣었습니다. 수정이 되면 강제 새로고침합니다.
.then(() => { openDetail(); });
// 노트 수정 사항이 바로 반영되지 않는 문제 수정을 위해 수정이 되면 노트를 띄우도록 변경. 다른 방법이 있다면 알려주세요.
// (기존 타임라인을 강제로 업데이트하는 건 어렵나..?)
});
}


Unchanged files with check annotations Beta

if (props.initialNote && props.editMode) {
postData.updatedAt = new Date();
postData.updatedAtHistory = props.initialNote.updatedAtHistory;
postData.updatedAtHistory.push(updatedAt);

Check failure on line 797 in packages/frontend/src/components/MkPostForm.vue

GitHub Actions / lint (frontend)

'updatedAt' is not defined
postData.id = props.initialNote.id;
}