duffn / theouterrim Goto Github PK
View Code? Open in Web Editor NEWFan-made stat site for Fantasy Flight Games' Star Wars role-playing game.
Home Page: https://theouterrim.co
License: MIT License
Fan-made stat site for Fantasy Flight Games' Star Wars role-playing game.
Home Page: https://theouterrim.co
License: MIT License
Maybe I’m missing something, but it would be useful if there was an easy way we could give people to link to any table view they might create.
For example, if I go to the page at https://theouterrim.co/weapon-attachments/ and search for “crystal”, I should be able to get back a link that I can then easily share with others, so that they can see all lightsaber crystals that we know of.
If I then drag “HP” to the “Group By” column, I should be able to get a link for that which will take me to a list of all known crystals, grouped by their HP cost.
Is this already a feature that is present and I just don’t know about it?
It would be cool to have full site search capability.
Does one search for an item without going to the resource type first though? Maybe if it’s convenient and fast. Or maybe this is not very useful and just only cool?
Some resources:
I love the toolbar search on the material UI site: https://material-ui.com/
There are currently no tests. 😬
We should add some.
Eventually I'd like to get CircleCI and Codecov involved, but let's get some simple tests running first.
It would be cool to have short URLs for resources.
I’ve never tried this, but seems like it would be possible with Netlify redirects and the Gatsby Netlify plugin.
Domain redirect from the short domain and then from the short path to the full resource path. Each resource would need another element in the YAML with the short path, then use createRedirect
from there.
Just a fun thing, time permitting and assuming I want to buy another domain like ther.im.
We should look at what the SEO component is rendering for pages. I raced over that before launching, but it can probably be bettered.
Good meta would be helpful when sharing resource URLs, like in Discord.
Check that the rarity columns in the column headers are numeric. Should check all of the other numeric columns as well.
It seems like this is only happening on the gear page, but why? It appears setup like the others. GraphQL schema has String
specified.
I took a look at the data, and it seems that all weapons that should have a + sign at the front of their damage are missing it, making it difficult to determine which weapons benefits from brawn and which doesn't.
https://material-ui.com/components/drawers/#responsive-drawer
I had this originally before initial launch, but changed it to the persistent drawer, but I think that was a mistake. It's annoying to have to open the drawer every time to navigate.
Also mentioned here: https://www.reddit.com/r/swrpg/comments/f6nyyh/introducing_the_outer_rim_swrpg_stats_site_and/fi71a0d?utm_source=share&utm_medium=web2x
The width of all the tables is a bit of a mess. They're all over the place. It would be nice to:
I can split these into two issues if smaller screen sizes is different work and a bigger lift than just make the table width better.
We should add adversaries and creatures tables that have a particular skill to their relevant skill pages. Ex. all adversaries and creatures that have Astrogation
are shown here: https://theouterrim.co/skills/311e6134-cce3-4569-b1c6-086bbb1df3bc
There has been a user request to localize the site. This user stated they can help with Portuguese: https://www.reddit.com/r/swrpg/comments/f6nyyh/introducing_the_outer_rim_swrpg_stats_site_and/fi6q1yz?utm_source=share&utm_medium=web2x
This would be cool, but a pretty big lift.
Okay, we have CircleCI and a single test up. We should add sufficient test coverage to the app, testing the critical components and pages.
I've added spreadsheets for all of the missing books and some instructions here: https://docs.google.com/spreadsheets/d/1NLgyvj_xCfOGdDGqqfX1xtOvjmucXA0J_8LVq5d4Tm4/edit#gid=0
Please don't hesitate to reach out with questions, comments or suggestions. I'm happy to better this process in any way.
Thank you for your willingness to help with this project!
Add dice representations in tables, replacing the specific dice place holder text.
Ex. https://theouterrim.co/qualities/3773543e-aab3-410a-a1bc-f3dcc1f1423d/ Replace [BOOST]
with something that looks like a boost die.
Split from #4.
The tables were already fixed to be 100% width, but they still need some updates to work well at smaller screen sizes - if there's anything to do at all.
I'm not quite sure where to put PayPal donators, so maybe just split the page in half and put Patreon on one side and donators on the other.
I'm certainly putting the cart way ahead of the horse here. 😂
One user expressed concerned that the site was a little to heavy for its very utilitarian purpose. I think that's a fair criticism.
I think in addition to the pretty site, we could potentially support some sort of minimal version of the pages that just shows all of the data, minimal styling, no pagination, no fancy filtering, sorting, etc. etc.
As requested here, it would be nice to allow users to show all of the items in a table instead of just the preconfigured number of records. https://www.reddit.com/r/swrpg/comments/f6nyyh/introducing_the_outer_rim_swrpg_stats_site_and/fi6vw7h?utm_source=share&utm_medium=web2x
It's not immediately clear how to do this from the material table docs, so we could just hack a 1000 or something large in the pageSizeOptions
for a short-term band-aid:
I made the favicon with some online generator, but it would be very cool to have a logo for the site. I’m not sure exactly what I’d be looking for but am open to suggestions. For reference I do like the SWSheets logo. It’s clean, simple and Star Wars-esque.
I’ll certainly need help in this department!
Material-table is not quite meeting all our needs, with certain other issues (#24 #22 ) being made very difficult due to use of material-table.
We should look into some alternatives and see if any can do what we need, or if we'll need to implement our own based on mui components.
Possible alternatives:
Our first community member has finished entering content for a book! Rise of the Separatists! Thank you P-47 Thunderbolt from the FFG formums!
Here's the spreadsheet: https://docs.google.com/spreadsheets/d/1FgGOmFdgbqTx8l4HVCT0huPdtztDUfzaZB04ur-SB6M/edit#gid=2094253977
Add this new data to the YAML files.
Also see #59 as that is related. We'll have some new columns for all datasets.
We should use either
If we allow addition of homebrew content to the site, we should add a column to indicate if a book is official or homebrew.
I'm not really clear on why or when this happens, but it does.
This is hosted on Netlify, so look into their pretty URL rewrite instead of gatsby-plugin-remove-trailing-slashes
as noted in the docs: https://www.gatsbyjs.org/packages/gatsby-plugin-remove-trailing-slashes/#netlify-trailing-slashes
Or option 2 is to make all of the URLs include trailing slashes perhaps.
Sorting Gear by price, they are displayed with a comma. But this appears to break sorting order, where “100” sorts after “10,500”. Standard numeric sorting is also broken, where 25 sorts after 200.
I think you’re going to have to convert them from strings to integers, then convert them back on display.
Note that if the site is going to be localized into other languages, they might not use a comma as their thousands separator, so you might not want to bake that in.
This might also require breaking out the “(R)” for Restricted into a separate column.
I plan on tracking releases in GitHub, but that can be not the most user friendly for non-developers.
We should have a page on the site that just hits the highlights of releases, but link to the GitHub release for more detail. I'm currently doing a blog for SWSheets for this purpose. We could consider that in the future.
There is some interest in helping submit new content, so I need to create some sort of Google Sheet template where people can input new content and then I can translate it to the data YAML format.
The community is helping! #1. I can confirm one book is already being worked on. We should add some sort of page recognizing the users that help with adding content - separate from monetary supporters.
New content created by contributors may have values in fields like encumbrance, rarity, damage, etc. that are not Ints. It may be that these do actually need to be strings.
Review and change columns to string types if necessary.
Related to #45.
From a contributor
I believe the book uses "-" to differentiate from Incidental items ( which would be "0"). I can switch it to 0, but wanted to run that by you first.
These columns are all 0
in every case. There's no reason to list them, so to simplify, let's remove them.
They are always 0 in every instance (at least up until this point) so are superfluous.
The original data from viluppo needs an audit.
😂
Our first community member has finished entering content for a book! Rise of the Separatists! Thank you P-47 Thunderbolt from the FFG formums!
Here's the spreadsheet: https://docs.google.com/spreadsheets/d/1FgGOmFdgbqTx8l4HVCT0huPdtztDUfzaZB04ur-SB6M/edit#gid=2094253977
After some discussion, we decided to include some additional columns. That means we need to add these additional columns to the already existing data.
This is a good idea. https://www.reddit.com/r/swrpg/comments/f6nyyh/introducing_the_outer_rim_swrpg_stats_site_and/fi7gm2q?utm_source=share&utm_medium=web2x
Can we stick it right under the navigation toolbar as a user scrolls down?
Material table issue: mbrn/material-table#780
The way that we're filtering on name for the weapons tables on an individual quality page, Auto-Fire (Only)
would show on the Auto-Fire
page since we're just globbing by name:
theouterrim/src/templates/qualities.js
Line 50 in 885fa6f
This is a user request to add a dark mode theme for the site: https://www.reddit.com/r/swrpg/comments/f6nyyh/introducing_the_outer_rim_swrpg_stats_site_and/fi68nff?utm_source=share&utm_medium=web2x
We'll want to keep the user's preference in between visits to the site.
We should have a table on the about page that can easily show everybody the status of content updates. It should have the book, resource type and whether or not we've added it to the site or audited it from viluppo.
After #56, add CodeCov integration to help remind everybody that writing tests is important.
Right now all of the categories for attachments for example are very broad like Weapon
, while they could be finer grained like Melee and Brawl Weapon Attachments, Grenade and Micro-Rocket Attachments, and Ranged Weapon Attachments.
We should go back and audit the older books to change the categories from the very broad definition to the tighter definition.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.