Repository navigation
Conversation
6423879 to
ea5f2f2
Compare
|
While adding the creation time could be beneficial in some cases, I think the disadvantages outweigh the advantages. The size of objects, modules and characters with many assets would increase significantly, which could cause some lag in the serialisation process. |
## PR Checklist
- Required Checks
- [x] Have you added type definitions?
- [x] Have you tested your changes?
- [x] Have you checked that it won't break any existing features?
## Summary
`src/ts/parser.svelte` -> `src/ts/parser/parser.svelte`
I hope to change it into `chatParser` or something, not just `parser`,
since the function itself is named `risuChatParser`. Maybe later.
## Related Issues
None.
## Changes
Please refer to the Summary.
Absolutely no other changes. A simple drag & drop of `parser.svelte.ts`
was all I did; everything else are import path changes.
## Impact
None.
## Additional Notes
Inlay test now mocks an nonexistent file. It will get a fix with #1259.
|
@kwaroran Fair enough, how about opt-in then? In "Other Bots > Image Generation" or "Advanced Settings". Inlay key is fully randomized so current explorer sorted in the random key is not so useful alone. |
|
Or perhaps even place it where you have to toggle show unrecommended settings to see it? |
dc70b29 to
3eecd57
Compare
3eecd57 to
f52c734
Compare
## PR Checklist
- Required Checks
- [x] Have you added type definitions?
- [x] Have you tested your changes?
- [x] Have you checked that it won't break any existing features?
## Summary
Splitted from #1259. This PR only contains the test fixing part.
## Related Issues
None.
## Changes
Module mocks fixed.
## Impact
None.
cubicj
left a comment
There was a problem hiding this comment.
Looks good. I don't think the extra created field meaningfully changes the storage cost here, since inlay assets already live in their own localforage store and the field stays optional for existing assets.
Check, tests, and build pass locally.
Approving — thanks for the contribution!
f52c734 to
b03cd1d
Compare
b03cd1d to
2501f86
Compare
## PR Checklist
- Required Checks
- [x] Have you added type definitions?
- [x] Have you tested your changes?
- [x] Have you checked that it won't break any existing features?
## Summary
`src/ts/parser.svelte` -> `src/ts/parser/parser.svelte`
I hope to change it into `chatParser` or something, not just `parser`,
since the function itself is named `risuChatParser`. Maybe later.
## Related Issues
None.
## Changes
Please refer to the Summary.
Absolutely no other changes. A simple drag & drop of `parser.svelte.ts`
was all I did; everything else are import path changes.
## Impact
None.
## Additional Notes
Inlay test now mocks an nonexistent file. It will get a fix with kwaroran#1259.
## PR Checklist
- Required Checks
- [x] Have you added type definitions?
- [x] Have you tested your changes?
- [x] Have you checked that it won't break any existing features?
## Summary
Splitted from kwaroran#1259. This PR only contains the test fixing part.
## Related Issues
None.
## Changes
Module mocks fixed.
## Impact
None.
PR Checklist
Summary
Records inlay asset creation/attachment timestamps for future utilization. Simply displays them in the explorer for now.
Related Issues
None.
Changes
Both
postInlayAsset()andwriteInlayImage()recordsDate.now()into the storage.Also fixes inlay tests as #1250 invalidated the mocking.
Impact
None;
createdfield is optional.Additional Notes
Proper utilizations (and display, with better localization) in the explorer will be developed further in subsequent PRs.