Backend updates


Backend updates
#1
I've been doing a lot of tinkering with the main site templates recently. Mostly to streamline the HTML and sync the templates between the Main site and Parts Tracker better (Right now if I want to make a change across the PT and Main site I have to edit like 4 or 5 different files, I'd like to to be one or maybe two). 

If something looks broken, it probably is. Check again a little bit later and if it's still not fixed, post here to let me know.
Reply
RE: Backend updates
#2
(2020-07-29, 17:02)Orion Pobursky Wrote: I've been doing a lot of tinkering with the main site templates recently. Mostly to streamline the HTML and sync the templates between the Main site and Parts Tracker better (Right now if I want to make a change across the PT and Main site I have to edit like 4 or 5 different files, I'd like to to be one or maybe two). 

If something looks broken, it probably is. Check again a little bit later and if it's still not fixed, post here to let me know.

I just shifted the entire PT over to new markup (headers and footers, the content areas stayed the same). Nothing super noticeable, just streamlining the code a bit and making it easier for me to sync code between the main site and the PT. I did get one quirk where I temporarily broke the images on the PrimRef. I checked everything else and it seems fine.
Reply
RE: Backend updates
#3
Did you move the buttons?
I keep hitting the wrong one. I hit the Parts List instead of Activity.

   

And that bar of buttons is gone on my android mobile screen. All I see is the Home button. And nothing happens when I hit it.
Reply
RE: Backend updates
#4
(2020-07-30, 12:25)Magnus Forsberg Wrote: Did you move the buttons?
I keep hitting the wrong one. I hit the Parts List instead of Activity.



And that bar of buttons is gone on my android mobile screen. All I see is the Home button. And nothing happens when I hit it.

I added the Home button.

On mobile you should have something like looks like this:
   
If not, that's a problem. I'll need to know your browser version and OS version.
Reply
RE: Backend updates
#5
(2020-07-30, 13:27)Orion Pobursky Wrote: I added the Home button.

Why? Never missed it.

(2020-07-30, 13:27)Orion Pobursky Wrote: On mobile you should have something like looks like this:

Yes, it looks like that. The button say Menu, but nothing happens when I click on it.
I use Chrome 83 on Android 9. Is that enough?
Reply
RE: Backend updates
#6
(2020-07-30, 13:49)Magnus Forsberg Wrote: Why? Never missed it.


Yes, it looks like that. The button say Menu, but nothing happens when I click on it.
I use Chrome 83 on Android 9. Is that enough?

The home button, in my mind, better syncs with the design philosophy of the site  It's fairly trivial to remove it enough people are annoyed by it. 

I just remembered that I had to add the code for this to the pt.js file. Try doing a hard refresh (which I'm not sure how to do on Chrome Android but prolly can be Googled)
Reply
RE: Backend updates
#7
(2020-07-29, 17:02)Orion Pobursky Wrote: I've been doing a lot of tinkering with the main site templates recently. Mostly to streamline the HTML and sync the templates between the Main site and Parts Tracker better (Right now if I want to make a change across the PT and Main site I have to edit like 4 or 5 different files, I'd like to to be one or maybe two). 

If something looks broken, it probably is. Check again a little bit later and if it's still not fixed, post here to let me know.

This appears to have broken the formatting of the Parts Tracker History. I have fixed it, but have been thinking for a while that we should switch the axes on this to have time vertical, rather than it generating a wider and wider page forever. Maybe this is the prompt to do that.
Chris (LDraw Parts Library Admin)
Reply
RE: Backend updates
#8
(Yesterday, 5:58)Chris Dee Wrote: This appears to have broken the formatting of the Parts Tracker History. I have fixed it, but have been thinking for a while that we should switch the axes on this to have time vertical, rather than it generating a wider and wider page forever. Maybe this is the prompt to do that.

That's odd. I checked that page. This means the error was probably there before the change since I only changed the header and footer HTML.
I do like you suggestion to switch axises though.
Reply
RE: Backend updates
#9
(Today, 1:01)Orion Pobursky Wrote: That's odd. I checked that page. This means the error was probably there before the change since I only changed the header and footer HTML.
I do like you suggestion to switch axises though.

How is this for starters? https://www.ldraw.org/cgi-bin/pthist3.cgi
Chris (LDraw Parts Library Admin)
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)