Page 1 of 2

Bookmark / Pinning a problem?

Posted: Sun Aug 11, 2019 6:29 pm
by RishadanPort
I have a tendency to browse at a large number of problems on the site, and I sometimes I want to navigate back to a previously problem i went to.

Is there any way to bookmark / pin a problem to my account so I can easily navigate back to it in the future?

Re: Bookmark / Pinning a problem?

Posted: Sun Aug 11, 2019 6:49 pm
by RobertStanforth
Your web browser's bookmarking facility should be adequate for this job.

Re: Bookmark / Pinning a problem?

Posted: Tue Aug 13, 2019 3:57 pm
by RishadanPort
One downside to your answer is it would be lost cross different machines.

Many times I work on different machines / my cell phone to look at problems.

This feature would certainly be appreciated.

Re: Bookmark / Pinning a problem?

Posted: Tue Aug 13, 2019 9:35 pm
by hk
How about jotting down the number of the problems you are interested in? It's only three digits.

Re: Bookmark / Pinning a problem?

Posted: Wed Aug 14, 2019 4:37 pm
by RishadanPort
I find it interesting, how a person gives a suggestion to the site, only to be met with a bit of rude answers.

If you guys don't want to do it / support it, -- that's fine, you can simply just say so.

I sometimes look at like 10-20+ (who knows possibly more) problems that I find interesting and cannot solve that I may want to revisit at a later date. Also -- Sometimes I want to show my friends the problem I'm working on to intrigue them -- when I am not at home.

-- Or who knows maybe at a way later date, like months from now I want to revisit a question i was looking at before.

Re: Bookmark / Pinning a problem?

Posted: Wed Aug 14, 2019 7:02 pm
by RobertStanforth
To answer your original question, the Project Euler site does not currently have any specific functionality for bookmarking problems (except for "filter by solved/unsolved").

The work-around I suggested earlier of using browser bookmarks may still be viable for the cross-device use case that you described. Many browsers including Chrome and Firefox allow bookmarks to be synchronised across devices, if you sign in with the same id (e.g. gmail account).

In the absence of a within-site feature to "filter by pinned", I hope this suggestion may be of some use to you as at least a partial solution.

Re: Bookmark / Pinning a problem?

Posted: Wed Aug 14, 2019 8:01 pm
by euler
@RishadanPort: The problem is that it falls on me to implement any site changes and I'm not always around to reply. Bookmarking is an excellent suggestion without having an actual feature, but I hear what you're saying about having the "pinned" problems accessible from wherever you sign in.

How would you envisage this? Pinned problems always appear at the top of the problem table, regardless of sorting, or you can filter by "pinned"? If I were able to do this, I'd have to limit the number of problems that could be pinned and keep in mind that you'd have to manually unpin any problems one at a time.

Re: Bookmark / Pinning a problem?

Posted: Thu Aug 15, 2019 2:47 am
by RishadanPort
I would have some sort of Pin / Unpin icon at the top right of each open problem which is toggle-able.

As a basic necessity, of how I would use it, in the "Problems Solved" area of my profile, I would like it that it would highlight certain squares a different color regarding if they are pinned or not.

Like Blue.

And if the problem is solved and pinned -- then perhaps Blue and a mixture of orange.

-- Viewing other peoples problems solved -- in my opinion, you should not have the ability to see what they have pinned.


Possible to also have it else where in searching / archives (for me, I probably wouldn't use it this way)

Re: Bookmark / Pinning a problem?

Posted: Thu Aug 15, 2019 2:52 am
by RishadanPort
Here are some images for the idea. The background colors for the pin icons I just snipped off of Visual studio...

Obviously you can choose whatever color scheme you like the most.

Thanks for your response.

Re: Bookmark / Pinning a problem?

Posted: Thu Aug 15, 2019 3:11 am
by RishadanPort
One might need to think about how to easily remove many pins.

That's another matter to think about...

If you want to limit the number of pinned problems to like 10, I think that is perfectly reasonable.

-- And if you pin more than 10 problems, it would remove your last pin.

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 1:00 am
by euler
Functionality has been added. There is a pin/unpin icon on each problem page now. Pinned problems will show up on the Progress page and on the Problems Table pages in blue. You can also filter by Pinned and if you select that option, then you can show all pinned problems on one page.

I've set the limit to 10. Does this seem suitable?

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 1:11 am
by SmileyCraft
Minor note: Problem has been spelled as Propblem.

I just noticed the change so I went to the news tab to check for updates, only to find one here in the forum. I was a bit confused as to what this new feature was, since there is no explanation. I did not dare to test it out either since it said I can only have a limited amount of pins. Just thought an outsider perspective might be useful here.

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 1:16 am
by euler
Thanks for the info on the typo. It should now be fixed.

I'm waiting for the team to offer feedback before I publish a news feed. In the meantime I've done a fair bit of testing, so hopefully it should be in working order. I hope it is all fairly intuitive, but feel free to try it out and offer feedback here.

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 6:06 am
by RishadanPort
Omg.

Thank you!!!



Only one note to say. -- my initial suggestion color makes it hard to see the number in the progress window. But it isn't a huge deal to me, just a matter of preference.


Thanks so so much!

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 8:25 am
by euler
You're welcome. I suspect it will be a feature much appreciated by a number of members.

Which particular colour is not contrasting well? Is this on the default or dark theme?

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 9:09 am
by hk
If I pin a recent problem and in the Archives click on view pinned that recent problem is not shown.
It's only showed then if I ask for details of all problems on one page.

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 9:40 am
by euler
They would have appeared there, but in the same way that showing unsolved problems doesn't show recent problems on the Archive page I thought it made sense not to show recent problems on that page. However, if it's more intuitive for all pinned problems to appear there, then I could make it happen.

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 12:30 pm
by hk
I think it best if all pinned problems appear together.

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 1:12 pm
by euler
I've modified the script so that all pinned problems appear on that page.

Re: Bookmark / Pinning a problem?

Posted: Mon Aug 19, 2019 1:34 pm
by hk
Thanks,
Looks great.