Skip to content
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

Frontend update to match visual identity of the main website #83

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Bluespottedfrog
Copy link

No description provided.

Copy link
Contributor

@dcolley dcolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend some small changes please.
Ping me if you would like to have a collaboration for the refactor

@@ -30,8 +32,49 @@
</div>
</td>
</tr>

<!-- for testing only, remove when done
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this

@@ -58,8 +61,44 @@
<td v-if="columns.includes('updatedAt')">{{ formatDateTime(member.updatedAt) }}</td>
<td v-if="columns.includes('createdAt')">{{ formatDateTime(member.createdAt) }}</td>
</tr>

<!-- for testing only, remove when done
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do not need *-copy files

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need this file

<td>{{ formatDateTime(hc.createdAt) }}</td>
</tr>

<!-- TESTING ONLY REMOVE AFTER
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need this one


//Get JSON from Gist
var clipBorder = JSON.parse(Get('./node-map/world.json'));
var jsonFile = JSON.parse(Get('https://raw.githubusercontent.com/ibp-network/config/main/members.json'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's discuss, we already have member info in the vue store. no need to get this again

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should refactor this into a vue component. It won't take long, and I can help if needed.

"chart.js": "^4.3.0",
"chartjs-adapter-date-fns": "^3.0.0",
"date-fns": "^2.30.0",
"dotenv": "^16.1.4",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dotenv is already imported in the parent directory package.json, not needed here.
If it is needed, we only need it in the build stage, so if it's really needed it should go in devDependincies.

</tbody>
<Loading :loading="loading"></Loading>
</table>
<table class="table is-fullwidth table-container">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for some reason this table is not responsive like the others?

it's ok wide:
image

But between 1024px and 1324px (screen width) it's offcenter?

image

dcolley added a commit to metaspan/ibp-monitor that referenced this pull request Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants