c-hive / dotdev

Next.js SPA professional website template for teams and individuals: https://c-hive.github.io/dotdev/
MIT License
0 stars 1 forks source link

Support multiple Medium users #69

Open gomorizsolt opened 4 years ago

gomorizsolt commented 4 years ago

Extracted from https://github.com/c-hive/c-hive.dev/pull/68#discussion_r362789214.

I can't really remember off the top of my head but we had some issues with supporting this feature. We also discussed this somewhere in the closed issues. Could anyone remember what they were exactly?

gomorizsolt commented 4 years ago

Found the issue, it seems we discussed something over the phone.

https://gitlab.com/c-hive/c-hive.dev/issues/20#note_199580936

nkapolcs commented 4 years ago

Good question! I am not sure, but I think because we want to start with MVP, that's why we made the decision to stay with one Github user, and one Medium user.

gomorizsolt commented 4 years ago

That makes sense, thanks. Let's leave this issue around then.

gomorizsolt commented 4 years ago

111 (+ #117 => changes) makes the configuration so that it's now possible to display projects from various orgs/users. How about doing so in the case of articles? One thing that's worthwhile to keep in mind is that there's a slight difference between the URLs:

https://medium.com/feed/@zsgomori (user) vs https://medium.com/feed/c-hive (publication)

But it's rather something that's expected to be mentioned in the docs.

Proposals:

(1) Use an array of strings format.

medium:
   - "c-hive"
   - "@zsgomori"

(2) Option to set the maximum number of displayed articles per entry (therefore, the screen won't be "bloated" with dozens of articles). It'd be an optional setting.

medium:
   - org: "c-hive"
      limit: 5
   - org: "@zsgomori"
gomorizsolt commented 4 years ago

cc @thisismydesign

Let me know if any of the above makes sense. If so, I'll create follow-up issues and close this one.

thisismydesign commented 4 years ago

The proposal looks good. Let's keep this in the backlog for now, we can go with proposal 1 as a first step later.