mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 15:36:22 +08:00
Merge pull request #4449 from scinote-eln/revert-4431-ma_SCI_7177
Revert "Add task IDs to canvas view [SCI-7177][SCI-7178]"
This commit is contained in:
commit
50cc068750
|
@ -61,14 +61,6 @@
|
|||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.task-card-code {
|
||||
bottom: 5px;
|
||||
color: $color-volcano;
|
||||
font-weight: 400;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
// Create wopi file
|
||||
|
|
|
@ -657,8 +657,3 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.task-details-code {
|
||||
display: inline-block;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
|
|
@ -10,9 +10,6 @@ class MyModule < ApplicationRecord
|
|||
include PermissionCheckableModel
|
||||
include Assignable
|
||||
|
||||
ID_PREFIX = 'TA'
|
||||
include PrefixedIdModel
|
||||
|
||||
attr_accessor :transition_error_rollback
|
||||
|
||||
enum state: Extends::TASKS_STATES
|
||||
|
|
|
@ -114,9 +114,5 @@
|
|||
<div role="tabpanel" class="tab-pane" id="<%= my_module.id %>_activities" data-contents="activities"></div>
|
||||
<div role="tabpanel" class="tab-pane" id="<%= my_module.id %>_comments" data-contents="comments"></div>
|
||||
</div>
|
||||
|
||||
<div class="task-card-code">
|
||||
ID: <%= my_module.code %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -67,9 +67,6 @@
|
|||
<%= render partial: "module_header_details_popover.html.erb" %>
|
||||
</div>
|
||||
</span>
|
||||
<span class="task-details-code">
|
||||
<%= @my_module.code %>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="details-container" class="task-details collapse">
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddMyModuleCodeIndex < ActiveRecord::Migration[6.1]
|
||||
def up
|
||||
ActiveRecord::Base.connection.execute(
|
||||
"CREATE INDEX index_my_modules_on_my_module_code ON "\
|
||||
"my_modules using gin (('TA'::text || id) gin_trgm_ops);"
|
||||
)
|
||||
end
|
||||
|
||||
def down
|
||||
remove_index :my_modules, name: 'index_my_modules_on_my_module_code'
|
||||
end
|
||||
end
|
|
@ -5327,13 +5327,6 @@ CREATE INDEX index_my_modules_on_experiment_id ON public.my_modules USING btree
|
|||
CREATE INDEX index_my_modules_on_last_modified_by_id ON public.my_modules USING btree (last_modified_by_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_my_modules_on_my_module_code; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX index_my_modules_on_my_module_code ON public.my_modules USING gin ((('TA'::text || id)) public.gin_trgm_ops);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_my_modules_on_my_module_group_id; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -8571,5 +8564,6 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20220726133419'),
|
||||
('20220803122405'),
|
||||
('20220818094636'),
|
||||
('20220913095453'),
|
||||
('20220914124900');
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue