From 66470d81b016b71addf68a24a0279909ba8da193 Mon Sep 17 00:00:00 2001 From: Carlos Rosado Date: Tue, 27 Aug 2024 22:43:20 -0600 Subject: [PATCH 1/9] feat: adding styles - Block: extra data section --- src/components/Paginator.vue | 2 ++ src/store/modules/backend/actions.js | 1 + src/store/modules/backend/getters.js | 1 + src/styles/_page.scss | 15 +++++++++++++++ 4 files changed, 19 insertions(+) diff --git a/src/components/Paginator.vue b/src/components/Paginator.vue index caa9ee31..7557d088 100644 --- a/src/components/Paginator.vue +++ b/src/components/Paginator.vue @@ -104,10 +104,12 @@ export default { const prevKey = this.prevKey()(key) const pageKey = this.pageKey()(key) const query = { [nextKey]: next, [prevKey]: prev, [pageKey]: page } + console.log('query: ', query) this.updateRouterQuery({ query, key }) }, findPage (page) { const { pages } = this + console.log('pages: ', pages) const index = pages.findIndex(p => p.page === page) return (index > -1) ? pages[index] : null } diff --git a/src/store/modules/backend/actions.js b/src/store/modules/backend/actions.js index 9c50b100..1e432cc3 100644 --- a/src/store/modules/backend/actions.js +++ b/src/store/modules/backend/actions.js @@ -48,6 +48,7 @@ export const socketNewBlocks = ({ state, commit, getters, dispatch, rootState }, export const socketData = ({ state, commit, getters, dispatch }, res) => { const { req, pages, error, next, prev, delayed } = res + console.log('pages: ', pages) const key = req.key const total = (pages) ? pages.total : null const sort = (pages) ? pages.sort : null diff --git a/src/store/modules/backend/getters.js b/src/store/modules/backend/getters.js index 5c61430c..2aeef80c 100644 --- a/src/store/modules/backend/getters.js +++ b/src/store/modules/backend/getters.js @@ -38,6 +38,7 @@ export const lastBlocksTime = state => { export const getPageTotal = (state, getters) => key => { const data = state.responses[key] const total = (data?.pages && data?.pages.total) ? data?.pages.total : state.totals[key] || null + console.log('total: ', total) return total } diff --git a/src/styles/_page.scss b/src/styles/_page.scss index d8156294..92634174 100644 --- a/src/styles/_page.scss +++ b/src/styles/_page.scss @@ -242,9 +242,24 @@ flex: 1 1 100%; padding: 12px; gap: 20px; + box-shadow: 0px -1px 0px 0px #3A3A3A inset; .field-title.big-field, .field-title.BigField, .field-title.event-call { flex: 1; } + .big-field:nth-child(2) { + flex-direction: column-reverse; + .decode { + margin-left: unset; + margin-bottom: 10px; + } + textarea { + background-color: #1d1d1d; + padding: 12px; + border-radius: 12px; + height: min-content; + margin: unset; + } + } .big-field, .event-call { flex: 5; textarea { From 4379a0fc3d9104c18ab83bb79b02ea552f94436c Mon Sep 17 00:00:00 2001 From: Carlos Rosado Date: Fri, 20 Sep 2024 09:37:47 -0600 Subject: [PATCH 2/9] fix: textarea scroll deleted --- src/styles/_page.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/styles/_page.scss b/src/styles/_page.scss index 92634174..5246810b 100644 --- a/src/styles/_page.scss +++ b/src/styles/_page.scss @@ -256,6 +256,8 @@ background-color: #1d1d1d; padding: 12px; border-radius: 12px; + overflow: hidden; + min-height: 40px; height: min-content; margin: unset; } From e5611230485b8e5cd6453ff9a4ad63d018a0d191 Mon Sep 17 00:00:00 2001 From: Carlos Rosado Date: Fri, 20 Sep 2024 09:52:10 -0600 Subject: [PATCH 3/9] fix: Showing scroll when field is too small --- src/styles/_page.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/styles/_page.scss b/src/styles/_page.scss index 5246810b..ab55bba1 100644 --- a/src/styles/_page.scss +++ b/src/styles/_page.scss @@ -256,7 +256,6 @@ background-color: #1d1d1d; padding: 12px; border-radius: 12px; - overflow: hidden; min-height: 40px; height: min-content; margin: unset; From 9efd9734cbdcd9f4feb9a7b3e3b0376a72bcf48e Mon Sep 17 00:00:00 2001 From: Nicolas Vargas Date: Wed, 2 Oct 2024 19:07:04 -0300 Subject: [PATCH 4/9] fix: update event signature display UI --- src/components/EventCall.vue | 137 ++++++++++++++----------- src/components/controls/CopyButton.vue | 13 ++- 2 files changed, 91 insertions(+), 59 deletions(-) diff --git a/src/components/EventCall.vue b/src/components/EventCall.vue index c53a0a11..8e845ace 100644 --- a/src/components/EventCall.vue +++ b/src/components/EventCall.vue @@ -1,23 +1,31 @@ - diff --git a/src/components/controls/CopyButton.vue b/src/components/controls/CopyButton.vue index a3d41042..f2f98c93 100644 --- a/src/components/controls/CopyButton.vue +++ b/src/components/controls/CopyButton.vue @@ -1,7 +1,7 @@