Custom Admin Emoji Panel (Reviewboard)
Review Request #11868 — Created Oct. 23, 2021 and updated
Adds a page to the admin panel which allows an admin to upload a custom emoji
by uploading a name, shortcode, description, and image. These fields are
editable whenever the user re-vists the page. The emoji data is loaded from,
and saved into SiteConfiguration, while the image data is loaded from and
saved to DefaultStorage.Further work that needs to be done: * Adding labels to the form fields, and removing the extra "name" field at
the very top of the form.Summary document in Notion: https://www.notion.so/reviewboard/Custom-Emojis-Progress-6644ec34f5a84c6ab957ea11ae2b7259
Unit testing: Unit test suites for class Emoji_Widget
Local testing: making sure the app runs property with print() statements.
Summary | ID | Author |
---|---|---|
81d9db02ab1196cf653dc46a1bc7789d57123591 | mxiuwang | |
441e0104edac5f50a79c1679f9fda40e5f2cf126 | mxiuwang | |
146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 | mxiuwang | |
bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 | mxiuwang | |
d10c4cd84e9463db47c12985406532600b42d944 | mxiuwang | |
58b772e54a253940df0addb7a3ca676bdb0b20fc | mxiuwang | |
395bd2aeb607fb12ea01454a7f45daaf9d86eb51 | mxiuwang | |
44ea86374597f452717b9555ed843122b81c7a43 | mxiuwang | |
aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec | mxiuwang | |
b04ab1d482403d74c068d2357f5adba80412d4f1 | mxiuwang | |
05e73763cac1902c79b80131eacc8a579153e1ac | mxiuwang | |
aff938a30ff7e469d23ccc50fac55da63b84482e | mxiuwang | |
5aea766a9f2ac3c496a09a80727fd476aef95b71 | mxiuwang | |
413a6479e991bef5aadbc49bd50d8c9185994ff9 | mxiuwang | |
deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd | mxiuwang | |
a76d6448038388bfff67870a2ca170cb385a990b | mxiuwang | |
1360feaa66d3716b0d9a696363c9df8fd21a0bd5 | mxiuwang | |
e55c5e516cedc699b35eada5bb18e4d650d4f297 | mxiuwang | |
b46c04ba107ceec5ffec6d7a7258703de817add8 | mxiuwang | |
467477d73e398105c37b277e38f7624d953ed4bd | mxiuwang | |
b643c33722c7a938a49575a6e269dc0173e0921b | mxiuwang | |
a3ab71224844e5baccf8d213df194a958f1bdeec | mxiuwang | |
6bc01da49f2170d7ac7f726c9b39da5fab7047f3 | mxiuwang | |
13afc7cfdaa8753f295ddf23fb6571d03f9e2869 | mxiuwang | |
e1e12a55fa4f7ddd5981dc6b4b921e1ddf8e32c8 | mxiuwang |
Description | From | Last Updated |
---|---|---|
F401 'django.utils.translation.ugettext' imported but unused |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E501 line too long (83 > 79 characters) |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
F403 'from .models import *' used; unable to detect undefined names |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E226 missing whitespace around arithmetic operator |
reviewbot | |
E226 missing whitespace around arithmetic operator |
reviewbot | |
E225 missing whitespace around operator |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
F841 local variable 'display_emoji' is assigned to but never used |
reviewbot | |
F405 'CustomEmojis' may be undefined, or defined from star imports: .models |
reviewbot | |
E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
F811 redefinition of unused 'ListEditWidget' from line 5 |
reviewbot | |
F811 redefinition of unused 'forms' from line 3 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E123 closing bracket does not match indentation of opening bracket's line |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E501 line too long (90 > 79 characters) |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
Col: 36 Expected ')' and instead saw 'this'. |
reviewbot | |
F811 redefinition of unused 'ListEditWidget' from line 5 |
reviewbot | |
F811 redefinition of unused 'forms' from line 3 |
reviewbot | |
F401 'django.forms' imported but unused |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E123 closing bracket does not match indentation of opening bracket's line |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E501 line too long (90 > 79 characters) |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E301 expected 1 blank line, found 0 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E501 line too long (104 > 79 characters) |
reviewbot | |
E501 line too long (81 > 79 characters) |
reviewbot | |
E501 line too long (87 > 79 characters) |
reviewbot | |
E501 line too long (86 > 79 characters) |
reviewbot | |
E501 line too long (91 > 79 characters) |
reviewbot | |
E501 line too long (90 > 79 characters) |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E501 line too long (97 > 79 characters) |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E302 expected 2 blank lines, found 0 |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E123 closing bracket does not match indentation of opening bracket's line |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E501 line too long (90 > 79 characters) |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
F811 redefinition of unused 'ListEditWidget' from line 4 |
reviewbot | |
F401 'django.forms' imported but unused |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E301 expected 1 blank line, found 0 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E501 line too long (104 > 79 characters) |
reviewbot | |
E501 line too long (81 > 79 characters) |
reviewbot | |
E501 line too long (87 > 79 characters) |
reviewbot | |
E501 line too long (86 > 79 characters) |
reviewbot | |
E501 line too long (91 > 79 characters) |
reviewbot | |
E501 line too long (90 > 79 characters) |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E501 line too long (97 > 79 characters) |
reviewbot | |
F401 'django.core.files.storage.get_storage_class' imported but unused |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E722 do not use bare 'except' |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
E302 expected 2 blank lines, found 0 |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E231 missing whitespace after ':' |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E123 closing bracket does not match indentation of opening bracket's line |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E501 line too long (90 > 79 characters) |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
F811 redefinition of unused 'ListEditWidget' from line 4 |
reviewbot | |
F401 'django.forms' imported but unused |
reviewbot | |
E501 line too long (87 > 79 characters) |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E261 at least two spaces before inline comment |
reviewbot | |
E501 line too long (120 > 79 characters) |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
E301 expected 1 blank line, found 0 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E501 line too long (104 > 79 characters) |
reviewbot | |
E501 line too long (81 > 79 characters) |
reviewbot | |
F841 local variable 'message' is assigned to but never used |
reviewbot | |
E126 continuation line over-indented for hanging indent |
reviewbot | |
E126 continuation line over-indented for hanging indent |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
E502 the backslash is redundant between brackets |
reviewbot | |
E128 continuation line under-indented for visual indent |
reviewbot | |
E502 the backslash is redundant between brackets |
reviewbot | |
E131 continuation line unaligned for hanging indent |
reviewbot | |
E501 line too long (85 > 79 characters) |
reviewbot | |
E501 line too long (87 > 79 characters) |
reviewbot | |
E501 line too long (86 > 79 characters) |
reviewbot | |
E501 line too long (91 > 79 characters) |
reviewbot | |
E501 line too long (90 > 79 characters) |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E501 line too long (97 > 79 characters) |
reviewbot |
- Commits:
-
Summary ID Author 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang - Diff:
-
Revision 2 (+1756 -1348)
Checks run (2 failed)
flake8
-
Warning: Showing 30 of 51 failures.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
JSHint
- Summary:
-
[WIP] Upload Emojis.Custom Admin Emoji Panel (Reviewboard)
- Description:
-
~ Upload Emojis using Models model, soon to be changed to Forms model.
~ Adds a page to the admint panel which allows an admin to upload a custom emoji by uploading a name, shortcode, description, and image. These fields are editable whenever the user re-vists the page. The emoji data is loaded from, and saved into SiteConfiguration, while the image data is loaded from and saved to DefaultStorage.
~ [WIP] use forms to upload images
~ Further work that needs to be done:
+ * Enforcing mandatory fields that user must fill out before clicking "Save", so as to not raise an error. + * Adding labels to the form fields, and removing the extra "name" field at the very top of the form. + * Rendering a preview of the emoji when loading the page (through get_context() in EmojiFileUpload).
- Commits:
-
Summary ID Author 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang e55c5e516cedc699b35eada5bb18e4d650d4f297 mxiuwang b46c04ba107ceec5ffec6d7a7258703de817add8 mxiuwang 467477d73e398105c37b277e38f7624d953ed4bd mxiuwang b643c33722c7a938a49575a6e269dc0173e0921b mxiuwang a3ab71224844e5baccf8d213df194a958f1bdeec mxiuwang
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
~ Adds a page to the admint panel which allows an admin to upload a custom emoji by uploading a name, shortcode, description, and image. These fields are editable whenever the user re-vists the page. The emoji data is loaded from, and saved into SiteConfiguration, while the image data is loaded from and saved to DefaultStorage.
~ Adds a page to the admin panel which allows an admin to upload a custom emoji
+ by uploading a name, shortcode, description, and image. These fields are + editable whenever the user re-vists the page. The emoji data is loaded from, + and saved into SiteConfiguration, while the image data is loaded from and + saved to DefaultStorage. Further work that needs to be done:
~ * Enforcing mandatory fields that user must fill out before clicking "Save", so as to not raise an error. ~ * Adding labels to the form fields, and removing the extra "name" field at the very top of the form. ~ * Rendering a preview of the emoji when loading the page (through get_context() in EmojiFileUpload). ~ * Adding labels to the form fields, and removing the extra "name" field at ~ the very top of the form. ~ * Rendering a preview of the emoji when loading the page (through get_context() + in EmojiFileUpload). - Testing Done:
-
+ Unit testing: Unit test suites for class Emoji_Widget
+ Local testing: making sure the app runs property with print() statements.
- Commits:
-
Summary ID Author 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang e55c5e516cedc699b35eada5bb18e4d650d4f297 mxiuwang b46c04ba107ceec5ffec6d7a7258703de817add8 mxiuwang 467477d73e398105c37b277e38f7624d953ed4bd mxiuwang b643c33722c7a938a49575a6e269dc0173e0921b mxiuwang a3ab71224844e5baccf8d213df194a958f1bdeec mxiuwang 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang e55c5e516cedc699b35eada5bb18e4d650d4f297 mxiuwang b46c04ba107ceec5ffec6d7a7258703de817add8 mxiuwang 467477d73e398105c37b277e38f7624d953ed4bd mxiuwang b643c33722c7a938a49575a6e269dc0173e0921b mxiuwang a3ab71224844e5baccf8d213df194a958f1bdeec mxiuwang 6bc01da49f2170d7ac7f726c9b39da5fab7047f3 mxiuwang
Checks run (1 failed, 1 succeeded)
flake8
- Commits:
-
Summary ID Author 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang e55c5e516cedc699b35eada5bb18e4d650d4f297 mxiuwang b46c04ba107ceec5ffec6d7a7258703de817add8 mxiuwang 467477d73e398105c37b277e38f7624d953ed4bd mxiuwang b643c33722c7a938a49575a6e269dc0173e0921b mxiuwang a3ab71224844e5baccf8d213df194a958f1bdeec mxiuwang 6bc01da49f2170d7ac7f726c9b39da5fab7047f3 mxiuwang 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang e55c5e516cedc699b35eada5bb18e4d650d4f297 mxiuwang b46c04ba107ceec5ffec6d7a7258703de817add8 mxiuwang 467477d73e398105c37b277e38f7624d953ed4bd mxiuwang b643c33722c7a938a49575a6e269dc0173e0921b mxiuwang a3ab71224844e5baccf8d213df194a958f1bdeec mxiuwang 6bc01da49f2170d7ac7f726c9b39da5fab7047f3 mxiuwang 13afc7cfdaa8753f295ddf23fb6571d03f9e2869 mxiuwang
Checks run (1 failed, 1 succeeded)
flake8
-
Warning: Showing 30 of 38 failures.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Description:
-
Adds a page to the admin panel which allows an admin to upload a custom emoji
by uploading a name, shortcode, description, and image. These fields are editable whenever the user re-vists the page. The emoji data is loaded from, and saved into SiteConfiguration, while the image data is loaded from and saved to DefaultStorage. Further work that needs to be done:
* Adding labels to the form fields, and removing the extra "name" field at ~ the very top of the form. ~ * Rendering a preview of the emoji when loading the page (through get_context() ~ in EmojiFileUpload). ~ the very top of the form. ~ ~ Summary document in Notion: https://www.notion.so/reviewboard/Custom-Emojis-Progress-6644ec34f5a84c6ab957ea11ae2b7259
- Commits:
-
Summary ID Author 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang e55c5e516cedc699b35eada5bb18e4d650d4f297 mxiuwang b46c04ba107ceec5ffec6d7a7258703de817add8 mxiuwang 467477d73e398105c37b277e38f7624d953ed4bd mxiuwang b643c33722c7a938a49575a6e269dc0173e0921b mxiuwang a3ab71224844e5baccf8d213df194a958f1bdeec mxiuwang 6bc01da49f2170d7ac7f726c9b39da5fab7047f3 mxiuwang 13afc7cfdaa8753f295ddf23fb6571d03f9e2869 mxiuwang 81d9db02ab1196cf653dc46a1bc7789d57123591 mxiuwang 441e0104edac5f50a79c1679f9fda40e5f2cf126 mxiuwang 146aa88a4d69d36aff0c6a7a16c9bd56a98ec4f2 mxiuwang bfa9548136e4a6ebe929a4f2f4a25d66e49abc48 mxiuwang d10c4cd84e9463db47c12985406532600b42d944 mxiuwang 58b772e54a253940df0addb7a3ca676bdb0b20fc mxiuwang 395bd2aeb607fb12ea01454a7f45daaf9d86eb51 mxiuwang 44ea86374597f452717b9555ed843122b81c7a43 mxiuwang aeb6ddd87da468d8e8e3ed6af34e825f08a0d8ec mxiuwang b04ab1d482403d74c068d2357f5adba80412d4f1 mxiuwang 05e73763cac1902c79b80131eacc8a579153e1ac mxiuwang aff938a30ff7e469d23ccc50fac55da63b84482e mxiuwang 5aea766a9f2ac3c496a09a80727fd476aef95b71 mxiuwang 413a6479e991bef5aadbc49bd50d8c9185994ff9 mxiuwang deb9c6a9374fe41adc0fa2393e88c3ec7caa6acd mxiuwang a76d6448038388bfff67870a2ca170cb385a990b mxiuwang 1360feaa66d3716b0d9a696363c9df8fd21a0bd5 mxiuwang e55c5e516cedc699b35eada5bb18e4d650d4f297 mxiuwang b46c04ba107ceec5ffec6d7a7258703de817add8 mxiuwang 467477d73e398105c37b277e38f7624d953ed4bd mxiuwang b643c33722c7a938a49575a6e269dc0173e0921b mxiuwang a3ab71224844e5baccf8d213df194a958f1bdeec mxiuwang 6bc01da49f2170d7ac7f726c9b39da5fab7047f3 mxiuwang 13afc7cfdaa8753f295ddf23fb6571d03f9e2869 mxiuwang e1e12a55fa4f7ddd5981dc6b4b921e1ddf8e32c8 mxiuwang