Code Monkey home page Code Monkey logo

Comments (13)

mdjx avatar mdjx commented on July 24, 2024 2

I haven't worked with the docker env previously (must have been added after my contributions) but my process was: Clone the repo, open it in VSCode, that will prompt you to start a container and install docker if you don't have it, then run jekyll serve from the terminal to start the development web server.

Changes in the above PR
Made the index page show all the portals and the Admin portals now have their own page.
image

The portals on the new index are still grouped, and the groups are listed in alphabetical order based on the JSON data filenames (admin, thirdparty, us-govt, user).

If anyone else wants to have a play with the PR before merging that would be great as it's been a while since I've worked on the codebase. I'm not particularly happy with the code as there is a lot of duplication in the new allportals.html file, but my familiarity with Jekyll was never great, so there's plenty of room for refactoring.

Aaaaand as I'm writing this I realized you guys actually wanted only the one page with anchor tags to the various sections, so feel free to use this as starting point, though I may have time to have another play tomorrow to make it work as described.

from msportals.io.

PsychoData avatar PsychoData commented on July 24, 2024 1

Yeah, I know what you mean.
Whole big screen space, and it's just all one column along the left.

One possible solution would be finding some CSS lists/gallery thing that would let us switch back and forth, and display items in a grid?

from msportals.io.

adamfowlerit avatar adamfowlerit commented on July 24, 2024 1

adding @mdjx too

Agree on the sizing, but wider would have a larger disconnect between portal name and link, so we might need to make the portal names clickable links too?

Breaking down the page more makes the existing search less useful - I did consider the idea of having the main page with everything, and the buttons up top could just jump to sections rather than different pages?

Alphabetical per section would be nice! I've been doing this manually but it's not perfect and more effort with other contributions.

Govt portals - yes having someone who actually works in with those fixing them would be very helpful :) Generally based on contributions from others.

from msportals.io.

adamfowlerit avatar adamfowlerit commented on July 24, 2024 1

I'm liking the idea of one huge page - it's just text :) and buttons to jump to sections. The keyword search for me with instant display is the way I use the site now.

I can't help dev wise :(

from msportals.io.

adamgell avatar adamgell commented on July 24, 2024 1

I got distracted but I will write up a docker container with all the parts to dev this repo.

Run Docker and open in Vscode to edit is my plan.

from msportals.io.

mdjx avatar mdjx commented on July 24, 2024 1

BTW I think if my PR is merged it may auto close the issue so @adamfowlerit feel free to re-open it after as I think there's more to do/discuss than just the changes in the PR.

from msportals.io.

adamgell avatar adamgell commented on July 24, 2024

@PsychoData @adamfowlerit tagging you for your feedback.

from msportals.io.

adamgell avatar adamgell commented on July 24, 2024

If we could have the search box index all the pages that would resolve that issue.

OR

We could make a huge page (lazy loaded?) and then buttons across the top to jump to sessions.

I need to figure out how to get this loaded in VSCode and locally displaying. Then I can how to modify the formatting.

Do we just fire up a local Jekyll instance?

from msportals.io.

adamgell avatar adamgell commented on July 24, 2024

@PsychoData Any idea about the dev env?

from msportals.io.

adamgell avatar adamgell commented on July 24, 2024

https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll

from msportals.io.

adamgell avatar adamgell commented on July 24, 2024

https://medium.com/@sebagomez/setting-up-a-github-page-with-jekyll-and-a-docker-container-c712e448649b

from msportals.io.

adamfowlerit avatar adamfowlerit commented on July 24, 2024

Now I've gotta work out how to make a live version of this to play around with :)

from msportals.io.

adamfowlerit avatar adamfowlerit commented on July 24, 2024

Waiting for @adamgell to do this :)

from msportals.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.