Generate a public read-only link to share your board🔗
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- express, javascript, mongodb, node.js, react, vite
- Lĩnh vực
- authentication, backend-api-design, full-stack
Hướng nghiên cứu
Start with server/models/User.js and the existing route setup to see how authentication and task queries are handled; then read App.jsx and the client page routing. Implement the public share route and read-only page described in the issue, and add the navbar controls. Done means sharing can be enabled and disabled, the public link shows only the listed task fields, and visitors cannot edit or drag tasks.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Generate a public read-only link to share your board🔗
Files: server/models/User.js + server/routes/share.js (new)
+ client/src/pages/SharedBoard.jsx (new) + App.jsx
Want to show your board to a mentor or recruiter without
making them sign up? Can't right now 💀
// User.js
shareToken: { type: String, default: null }
// routes/share.js
const crypto = require('crypto')
router.post('/enable', protect, async (req, res) => {
const token = crypto.randomBytes(16).toString('hex')
await User.findByIdAndUpdate(req.user._id, { shareToken: token })
res.json({ url: ${process.env.FRONTEND_URL}/share/${token} })
})
router.delete('/disable', protect, async (req, res) => {
await User.findByIdAndUpdate(req.user._id, { shareToken: null })
res.json({ message: 'Sharing disabled' })
})
// public, no auth middleware:
router.get('/:token', async (req, res) => {
const user = await User.findOne({ shareToken: req.params.token })
if (!user) return res.status(404).json({ message: 'Not found' })
const tasks = await Task.find({ assignee: user._id })
.select('title status priority tags createdAt')
res.json({ owner: user.name, tasks })
})
Note: .select() leaves out description, snippets and notes on
purpose, so nothing private leaks.
Client: new /share/:token route rendering the board with no
drag-drop and no edit buttons. Add "Enable / Disable sharing"
in the navbar.
~50 lines across 4 files 🎯
- Ngôn ngữ chính
- JavaScript
- Star
- 39
- Fork
- 105
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của anoopcodehack/DevBoard
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
anoopcodehack/DevBoard#648 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Show "No snippets yet" empty state in task modal 💻Có thể làm lại được @tu-lasizzzz đã nhận 36 ngày trước và không có pull request nào đang mở. Đang mởgood first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 96/100
anoopcodehack/DevBoard#639 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 96/100
anoopcodehack/DevBoard#637 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Add smooth horizontal scroll on board 🖱️Có thể làm lại được @nikhil9verma đã nhận 43 ngày trước và không có pull request nào đang mở. Đang mởgood first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
anoopcodehack/DevBoard#615 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Show task creation date in modal footer 📅Có thể làm lại được @nikhil9verma đã nhận 43 ngày trước và không có pull request nào đang mở. Đang mởgood first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
anoopcodehack/DevBoard#614 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của anoopcodehack/DevBoard
Issue tương tự
-
flex-flow: wrap-reverse gets a vertical, reversed 2009 box fallbackCó thể đã có người làm @goranai đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
postcss/autoprefixer#1577 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
PranshulGG/WeatherMaster#1266 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
FEATURE REQUEST
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
linuxmint/cinnamon-spices-applets#9356 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
opnsense/plugins#5976 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày