-
Notifications
You must be signed in to change notification settings - Fork 269
feat: text blocks #10276
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
base: main
Are you sure you want to change the base?
feat: text blocks #10276
Conversation
f2dd62e
to
11fc522
Compare
Feature finally functioning the only thing missing is sharing fe and ui needs polishing |
|
3d82e87
to
ff4cd0f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add unit tests for the php part at least
ff4cd0f
to
09c533a
Compare
aa8eb06
to
5da5151
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 Very clean code
18fb5d3
to
89dd240
Compare
Psalm wants to have a word |
89dd240
to
3a50445
Compare
🤞 |
don't merge yet, I wanna give it a last test, after the psalm changes |
3a50445
to
5400b1a
Compare
version bump was missing because of rebase |
993f43b
to
a99dba5
Compare
Signed-off-by: Hamza Mahjoubi <[email protected]>
Copying Over @nimishavijay 's comment
Inside setting dialog
Incoming shared text blocks
While inserting in composer
Follow up
|
Signed-off-by: Hamza Mahjoubi <[email protected]>
Signed-off-by: Hamza Mahjoubi <[email protected]>
Signed-off-by: Hamza Mahjoubi <[email protected]>
Signed-off-by: Hamza Mahjoubi <[email protected]>
Signed-off-by: Hamza Mahjoubi <[email protected]>
Signed-off-by: Hamza Mahjoubi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Structure looks sane
Given the 2.4k diff I wonder if we should get a smaller version without sharing in first. With unit tests we'll probably go above 3k even.
$table->addColumn('preview', Types::TEXT, [ | ||
'notnull' => true, | ||
]); | ||
$table->setPrimaryKey(['id']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is only a primary key, no other indexes. Look at the queries you send and add the missing index(es)
'notnull' => true, | ||
'length' => 64, | ||
]); | ||
$table->setPrimaryKey(['id']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is only a primary key, no other indexes. Look at the queries you send and add the missing index(es)
'notnull' => true, | ||
'length' => 64, | ||
]); | ||
$table->addColumn('text_block_id', Types::STRING, [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is is a foreign key but there is no foreign key constraint. you will have dangling pointers when the blocks are deleted. add the FK and cascade deletion.
:bus="bus" /> | ||
<template v-if="!shared"> | ||
<h3> | ||
{{ t('mail','Shares') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{ t('mail','Shares') }} | |
{{ t('mail', 'Shares') }} |
Signed-off-by: Hamza Mahjoubi <[email protected]>
ref #10113
Testing: