Skip to content

new puplookup.csv features#2

Open
gorgatron1 wants to merge 2 commits intostagingfrom
fix/puplookup
Open

new puplookup.csv features#2
gorgatron1 wants to merge 2 commits intostagingfrom
fix/puplookup

Conversation

@gorgatron1
Copy link
Collaborator

  • per discussion w Nailbuster
  • add WebLink2URL with link to game + table
  • add WEBGameID with table.id (same as VPS-ID)
  • add GameID with game.id

- per discussion w Nailbuster
- add WebLink2URL with link to game + table
- add WEBGameID with table.id (same as VPS-ID)
- add GameID with game.id
let tableName = GameName
if (t.edition) {
tableName += ` ${t.edition}`;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Per discussion add the edition name to the table name

game.ipdbUrl?.includes(".ipdb.org/machine.cgi?id=")
? `"${game.ipdbUrl}"`
: "", // WeblinkURL
`https://virtualpinballspreadsheet.github.io/tables?game=${game.id}&fileType=tables&fileId=${t.id}`, // WebLink2URL
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The URL to the table itself. Note that this isn't scrolling the page correctly but that is an issue on the front end.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Does this need to be quoted? Perhaps -- the ipdbUrl is quoted above

), // Tags
t.id, // VPS-ID
t.id, // WebGameID
game.id, // GameID
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I guess consider the naming here. GameID was also suggested as MasterID.

- add quotes on url
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.

1 participant