-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Attachment icon is missing #1412
Comments
Hello @georgegevoian, As it is an atomic commit d036d28 I can take a look on monday if it's not fixed before. |
Great, thanks @hexaltation! |
Glyphicon support was removed from Bootstrap since version 4. It's used in these files : $ grep -rin glyphicon
client/lib/koForm.js:337: this.optionButton("left", dom('span.glyphicon.glyphicon-align-left'),
client/lib/koForm.js:339: this.optionButton("center", dom('span.glyphicon.glyphicon-align-center'),
client/lib/koForm.js:341: this.optionButton("right", dom('span.glyphicon.glyphicon-align-right'),
client/lib/koForm.js:482: dom('span.kf_drag_indicator.glyphicon.glyphicon-option-vertical') :
client/lib/koForm.js:487: return dom('span.drag_delete.glyphicon.glyphicon-remove',
client/components/DocConfigTab.js:19: dom('span.glyphicon.glyphicon-check'),
client/components/ValidationPanel.js:66: dom('div.validation_trash.glyphicon.glyphicon-remove',
client/components/ValidationPanel.js:71: 1, dom('div.glyphicon.glyphicon-tag.config_icon'),
client/components/ColumnFilters.css:69:.g-glyphicon-tristate {
client/components/RecordLayoutEditor.js:128: dom('div.g_record_delete_field.glyphicon.glyphicon-eye-close',
client/widgets/AttachmentsWidget.ts:193:const cssAttachmentIcon = styled('div.glyphicon.glyphicon-paperclip', ` Glyphicon have a pricing model that don't match an open source project (has every self hoster must buy a license). Octicon seems to be a better solution as it's fee free and under MIT license. |
Update |
@georgegevoian can you confirm my intuition that this two files are dead code. client/components/DocConfigTab.js
client/components/ValidationPanel.js
And grist-core/app/client/components/GristDoc.ts Line 540 in 2f5ec0d
The same for grist-core/app/client/lib/koForm.js Line 335 in 2f5ec0d
Do you feel comfortable with the idea that I remove this parts of code. |
OK to remove. There used to be a whole "Validations" feature, but it wasn't polished, so was disabled from UI, and given many years that passed, I am comfortable dropping it entirely. |
Describe the current behavior
The recent upgrade to Bootstrap 5 appears to have broken the attachment icon in Grist. (See attached screenshot.)
CC @hexaltation
Steps to reproduce
No response
Describe the expected behavior
No response
Where have you encountered this bug?
Instance information (when self-hosting only)
No response
The text was updated successfully, but these errors were encountered: