use of 'possibleargs' and 'main_popler' in browse() are unsafe

These variables in the browse() function should probably be specified in a safer way. As it currently stands, a user could easily (and unintentionally) overwrite possibleargs or main_popler and the whole package would stop working.
Consider changing these to functions that return outputs. For example, instead of:
possibleargs <- c("A","B","C")

use
possibleargs = function(){ return(c("A","B","C")) }

I made a function possible_args() that returns a vector of possible arguments.
I also made a function called 'main_table()' that "loads" main_popler and does the basic manipulations that were at the head of browse(). So the problem with main_popler is just moved for now... if somebody overwrites main_popler the browse function will stop working. This should probably be fixed.
both functions are in browse.R

Closing this argument since it has converged with github.com/AldoCompagnoni/popler/issues/27


[RFE] Enable discussions

Can we enable discussions to capture details about reoccurring processes such as:

permission changes/requests
repository migrations

It may not prevent all new issues related to these, but it might save someone typing in the future and would allow for a place to capture some information for future reference

why not just require that if someone wants to modify an already created repo/user perms that they have to re-open the original issue with the update? seems like it would accomplish the same thing

How about questions like "How do I migrate a collection to the org?"  This one just cam up today.

This is what I am curious about.  How do I migrate the https://github.com/network-automation/toolkit to here (since it is a requirement for validated content)

@sabre1041 can work with you on migrating it over

https://github.com/redhat-cop/org/discussions/landing looks enabled. OK to close?


How to pass a value to middleware?

Normally I would use middleware like this:
router.Use(middleware.MyMiddleware).GET("/demo", myDemoHandler)

But let's say, I want to check in the middleware if the user has permissions to use the handler.
Something like this:
router.Use(middleware.Permissions("RW")).POST("/demo", myDemoHandler)

How can I achieve something like this?

You can pass the user or perms in context.Context, for example - https://github.com/uptrace/uptrace/blob/master/pkg/tracing/grafana_handler.go#L27-L50

So before calling the middleware.Permissions, I have to set the wanted "RW" inside a context that I can read back inside that middleware?


The container example moves its content in the wrong direction

This issue pertains to the container example.
A ball is added at position (0,0), within the container, and the container is moved 100 pixels to the right and towards the bottom. Normally the coordinates of the ball should become (100,100). Nothing is visible on the screen. Upon inspecting the console, you can see that the coordinates of the ball are instead (-100,-100), which is why the ball is not visible. The coordinates of the container are however correct.
I haven't looked into the code but apparently the offset of +100,+100 became -100,-100.

The Container is just a WIP and hasn't been planned out yet, so this example isn't worth exploring yet. Wait for some activity on the Container object itself and then you should see examples follow through.


[question] symmetric keys stored per client

Hi, playing with a Node.js implementation. My understanding is that the connect token has two fields: client_to_server and server_to_client keys. These are symmetric keys that are shared between the client, web server, and backend servers, and they are protected by both HTTPS and encryption with the private key.
My question: that means the servers should be creating and storing these symmetric keys per client to be later reference, right?

Hmm, never mind, got confused. The symmetric keys are just used at face value.


Add shadow to active tab

Adding a shadow to the active tab will make it stand out more. There can also be some sort of line or border separating tabs to make it look nicer when a lot of tabs are open at once.

To keep things simple, I'm going to try to stay as close as needed to the upstream TabView control, so if/when they add a TabViewItem Shadow property, I'll implement it.


Query For Menu doesn't open on page load

Please give details of the issue:
https://v2-dev2.virtualflybrain.org/org.geppetto.frontend/geppetto?id=VFB_00030624&i=VFB_00017894,VFB_00030624
The menu fails to initialise properly on loading a term with the page.
click contains:
{handlerAction: 'subMenuGrouping', parameters: Array(1)}
handlerAction:"subMenuGrouping"
parameters:['undefined']
[[Prototype]]: Object
Causing https://github.com/VirtualFlyBrain/geppetto-vfb/blob/231349b7dfc23ba4451c54db778aa30c6d851f06/components/interface/VFBFocusTerm/VFBFocusTerm.js#L213 to fail
Support info:
Mon Jun 26 2023 19:17:56 GMT+0100 (British Summer Time)
Chrome
<IP_ADDRESS> [1920,1000]
https://v2-dev2.virtualflybrain.org/org.geppetto.frontend/geppetto?id=VFB_00030624&i=VFB_00017894,VFB_00030624

Hi @Robbie1977 , I'm debugging this issue. What branches are you using for v2-dev deployment and what URL for the Neo4J Data Source Service?
I'm using this combination, but fails to retrieve VFB ID's from the model:
org.geppetto.core  -            branch : VFBv2.2.0
org.geppetto.model  -         branch : development
org.geppetto.model.swc  - branch : VFBv<IP_ADDRESS>
org.geppetto.simulation  - branch : development
org.geppetto.frontend  -    branch : development
uk.ac.vfb.geppetto  -           branch : addSOLRcache
org.geppetto.datasources  -   branch : passingSOLR
geppetto-vfb -                      branch : development
Neo4J Data Source URL : http://pdb.v4.virtualflybrain.org/db/neo4j/tx

v2-dev runs development branch which runs: https://github.com/VirtualFlyBrain/geppetto-vfb/blob/development/Dockerfile#L12
#SET TAG/BRANCH to use:
ARG geppettoRelease=vfb_20200604_a
ARG geppettoModelRelease=vfb_20200604_a
ARG geppettoCoreRelease=VFBv2.2.0
ARG geppettoSimulationRelease=VFBv<IP_ADDRESS>
ARG geppettoDatasourceRelease=passingSOLR
ARG geppettoModelSwcRelease=v1.0.1
ARG geppettoFrontendRelease=VFBv<IP_ADDRESS>
ARG geppettoClientRelease=VFBv2.2.3
ARG ukAcVfbGeppettoRelease=fixingSOLR

Created a fix, but for VFB_00030624 only shows one query result : 'Term Info Test'. It's the same result we get through the query builder for this ID. PR #1442