Open mikkonie opened 4 years ago
mentioned in commit 724bbe72ce4507d983347e0874c84eea252ec896
marked the task Do not save empty column arguments to sheet config as completed
mentioned in commit 274589bdcaaff4f175c69ded4b1beded7abcdfd2
marked the task Look into refactoring cell comparator assignment so that colType
is not needed for each cell (1) as completed
marked the task Look into refactoring cell comparator assignment so that colType
is not needed for each cell (1) as incomplete
marked the task Move modals to a separate subdirectory to aid in browsing component files as completed
mentioned in commit 79a8ae2d9b8a1f984865fcf6a46a28f3028623bf
marked the task Set up content id with a function to avoid unnecessary (and incorrect) PyCharm error complaints as completed
marked the task Remove repetition from ColumnConfigModal
OR split into multiple modals based on column type as completed
marked the task Refactor editContext.samples
into a dict with UUID as key as completed
marked the task Move cell editing helper functions away from (5) as completedApp.vue
marked the task Rename ShortcutModal
to StudyShortcutModal
to avoid confusion with assay shortcuts as completed
mentioned in commit 4ebe1b2b2ee1bb6a4d541977b21b61fadd850633
mentioned in commit 4605ddd874990a32ddd6ca9881afb51042dc7649
marked the task Move grid building helpers away from App
as completed
mentioned in commit e1db3cb884ac234829962d3c18a3a3ab46a2a510
mentioned in commit fe65d0abc976a0626a158a9e9467c3e034e825f2
marked the task Move grids into separate components if viable as completed
mentioned in commit ec747175c562565d60cdccbba44c89ad239c3064
mentioned in commit 26912b65e2cc568fce09836bb66888fc52dec5a3
mentioned in commit 26c541680d115edc997558087c9a7e5abd912fc0
mentioned in commit df5b7168d0f8c385e46994803c0597e5f9b78489
mentioned in commit 5052f9179ab922857c63c7696888f0d8349d3b03
mentioned in commit 7ef90df4be77e186403621bf71c5b065925ed560
mentioned in commit db74ec22ddc48bbc83e052996150d75ba25477a4
mentioned in commit 835b18b2341202ab71c59536e6a97055f6d73be5
marked the task Go through the entire ColumnConfigModal
component and refactor where needed (2) as completed
marked the task *Unify naming of `sodar-vue-,
sodar-ss-and
sodar-ss-vue-` CSS classes (11)** as completed
marked the task Get rid of extra indent with export default Vue.extend({
as completed
marked the task Only use app
callback where applicable (12) as completed
marked the task Refactor form select items into a nice bootstrap-vue design (see here) or maybe not, see #1030 as completed
mentioned in commit 09d9016ce680aa2b6de0c62403cfa55b6746d535
mentioned in commit c1af1a3676522c7cd2050d62c6e536ee5be7b01c
This is a very old issue by now and it's possible some things have already been handled in other issues. These days I'm against these kinds of "umbrella" issues anyway. I'll look into this while doing #994 and handling subtasks which are still open and relevant.
Collecting stuff from here I'm omitting from v0.7.0 as they are not critical. Mostly internal cleanup stuff and refactoring.
See also #537 which is more about general code cleanup.
Tasks
colType
is not needed for each cell (1)ColumnConfigModal
component and refactor where needed (2)ShortcutModal
toStudyShortcutModal
to avoid confusion with assay shortcuts(4)col_type
andheader_type
used interchangeably in rendering/editingSampleSheetEditAjaxView
, display in javascript consoleColumnConfigModal
OR split into multiple modals based on column typeUnify/clarify confusing naming between header and columnsee #899Move cell editing helper functions away from(5)App.vue
headerÌnfo
fromcellEditorParams
toheaderComponentParams
(6)sodar-ss-data-links-*
classes (7)shortcutHeaderGroup
etc.)obj_cls
vsobjCls
)fieldConfig
setup fromFieldHeaderEditRenderer
toColumnConfigModal
? (8)colType
for bothcellRendererParams
andheaderComponentParams
?colType
from cell edit dataeditContext.samples
into a dict with UUID as keyobj_cls
anduuid
into node root when calling the row insert ajax viewgridOptions
in editor params without having to always callgetGridOptionsByUuid()
?sodar-vue-*
,sodar-ss-*
andsodar-ss-vue-*
CSS classes (11)Refactor form select items into a nice bootstrap-vue design (see here)or maybe not, see #1030*Click()
event handlers for@click
events (9)app
callback where applicable (12)*Callback()
functions into*Cb()
(10)App
pageHeader
to receive aparams
objecteditStudyConfig
tostudyEditConfig
row-num
andcol-num
attributes fromDataCellRenderer
?export default Vue.extend({
App
into a separate utils file (see #1036)Notes
ColumnConfigModal
andDataCellEditor
. Should be defined once atapp
and provided to subcomponents as property/dataApp
. Tried it and the end result just looked more confusing, needing tons of callbacks etc.Cb
notCB
, as the latter will appear asc-b
in template props which looks sillysodar-ss-*
.app
as a prop where relevant. Need to rollback some changes I did to the opposite.