Skip to content

Various UX improvements - #11

Open
trvv wants to merge 2 commits into
CampusPulse:mainfrom
trvv:main
Open

Various UX improvements#11
trvv wants to merge 2 commits into
CampusPulse:mainfrom
trvv:main

Conversation

@trvv

@trvv trvv commented Apr 9, 2025

Copy link
Copy Markdown
  • Alphabetical building sorts
  • Toggleable button informations
  • Rerouted data filling mechanics into JS file instead of current inline script tags

This does clobber the new (building) data import functionality. It should be a simple reimplementation in data-filler.js instead of doing it on each file, though.

trvv added 2 commits April 9, 2025 19:36
- Alphabetical building sorts
- Toggleable button informations
- Rerouted data filling mechanics into JS file instead of current inline script tags
- Now requests updated version of campusepulse buildings
- Falls back to local version if that request fails
- Updated version of buildings.json to match campuspulse
@MoralCode

Copy link
Copy Markdown
Collaborator

So it looks like you reformatted a lot of the files that you touched - which makes the Diff really messy and hard to read. can you set the formatting back so that its easier to see what was actually changed?

Comment thread button.html
Comment on lines -53 to +117
<!-- hidden form items -->
{% for item in page.staticvalues %}
<input type="hidden" name="{{ item.name }}" value="{{ item.value }}">
{% endfor %}
<!-- TODO: submit building name too -->
{% include form_end.html destination=page.destination %}
<label for="floor">Floor</label>
<input
type="text"
id="floor"
name="floor"
required
placeholder="Enter the floor (e.g., A for Basement, 1, 2, etc.)"
pattern="A|B|[0-9]"
title="Enter floor number as either 'A', 'B', or a single numeric value"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

it also looks like you removed jekyll templating here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants