Community Author Information is a "Snapshot" rather than live
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java, mongodb
调研方向
首先追踪社区帖子的作者是如何被持久化并通过 API 返回的,包括 MongoDB 在哪里存储作者和图像数据。完成的标准是:作者详细信息会动态返回,图像数据不再存储,也不再在响应中进行 base64 编码,并且存在一个用户头像 endpoint,其响应可由浏览器缓存。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
If you make a post in the community, your current avatar, email address, nickname, etc are all saved in Mongo at that moment. This causes a few issues:
- If the author modifies any of their information, this isn't reflect in the community
- Saving the image data in mongo creates overhead + the UI is less responsive when returning base64encoded image data.
Describe the solution you'd like
Change author information to be return dynamically. Additionally, don't save any image information in mongo or return image data as base64encoded info. Instead add a new endpoint that dynamically returns the correct user's avatar. Less overhead, less storage, plus caching rules can be set up for the images that the browser can handle.
- 主要语言
- Java
- 星标
- 1.6k
- 派生
- 660
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OWASP/crAPI 的其他 Issue
-
The vehicleCardHeader component is not visible on UI可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 1/5 1 小时以内 新手友好度 84/100
-
HELM deployments do not work可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 3/5 1-2 天 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 1/5 1 小时以内 新手友好度 1/100
-
bug
难度 1/5 1 小时以内 新手友好度 55/100
相似的 Issue
-
agent-java community triage
难度 2/5 1-3 小时 新手友好度 72/100
elastic/apm-agent-java#4594 ·
维护者通常 1 天内回复
-
area/plugin good first issue
难度 2/5 1-3 小时 新手友好度 85/100
kestra-io/plugin-soda#137 ·
-
area/plugin good first issue
难度 2/5 1-3 小时 新手友好度 82/100
kestra-io/plugin-aws#816 ·
维护者通常 2 天内回复
-
area/plugin good first issue
难度 2/5 1-3 小时 新手友好度 88/100
kestra-io/plugin-kestra#200 ·
维护者通常 1 天内回复
-
bug untriaged
难度 1/5 1 小时以内 新手友好度 92/100
opensearch-project/search-relevance#618 ·
维护者通常 3 天内回复