@@ -79,10 +79,10 @@ export class ProposalPage extends mixin<ProposalPageProps>() {
79
79
) }
80
80
onClick = { ( ) => ( proposal . sortKey = 'name' ) }
81
81
>
82
- 名称
82
+ 提案名称
83
83
</ th >
84
- < th > 作者</ th >
85
- < th > 责编</ th >
84
+ < th > 作者(Author) </ th >
85
+ < th > 责编(Champion) </ th >
86
86
< th
87
87
className = { classNames (
88
88
'user-select-none' ,
@@ -111,7 +111,7 @@ export class ProposalPage extends mixin<ProposalPageProps>() {
111
111
) }
112
112
onClick = { ( ) => ( proposal . sortKey = 'meeting_at' ) }
113
113
>
114
- 最近更新
114
+ 最近会议记录
115
115
</ th >
116
116
</ TableRow >
117
117
) ;
@@ -143,22 +143,24 @@ export class ProposalPage extends mixin<ProposalPageProps>() {
143
143
}
144
144
}
145
145
146
+ renderNotes ( notes : { date : string , url : string } [ ] ) {
147
+ return notes . map ( ( { date, url } ) => (
148
+ < a href = { url } > { formatDate ( date , 'YYYY年M月D日' ) } </ a >
149
+ ) )
150
+ }
151
+
146
152
renderRow = ( {
147
153
stage,
148
- link ,
154
+ url ,
149
155
name,
150
156
authors,
151
157
champions,
152
158
stargazers_count,
153
159
open_issues_count,
154
160
tests,
155
- meeting,
156
- meeting_at,
157
- pushed_at
161
+ notes,
162
+ // pushed_at,
158
163
} : Proposal ) => {
159
- const updated_at = meeting_at || pushed_at ;
160
- const updated = updated_at && formatDate ( updated_at , 'YYYY 年 M 月' ) ;
161
-
162
164
return (
163
165
< TableRow >
164
166
< td >
@@ -170,12 +172,12 @@ export class ProposalPage extends mixin<ProposalPageProps>() {
170
172
filter = "stage"
171
173
value = { stage }
172
174
>
173
- { stage < 0 ? 'Inactive ' : `Stage ${ stage } ` }
175
+ { stage < 0 ? '非活跃 ' : `阶段 ${ stage } ` }
174
176
</ FilterLink >
175
177
</ td >
176
178
< td >
177
- { link ? (
178
- < a className = "stretched-link" target = "_blank" href = { link } >
179
+ { url ? (
180
+ < a className = "stretched-link" target = "_blank" href = { url } >
179
181
{ name }
180
182
</ a >
181
183
) : (
@@ -189,7 +191,7 @@ export class ProposalPage extends mixin<ProposalPageProps>() {
189
191
< a
190
192
className = "stretched-link"
191
193
target = "_blank"
192
- href = { link + '/stargazers' }
194
+ href = { url + '/stargazers' }
193
195
>
194
196
{ stargazers_count }
195
197
</ a >
@@ -200,7 +202,7 @@ export class ProposalPage extends mixin<ProposalPageProps>() {
200
202
< a
201
203
className = "stretched-link"
202
204
target = "_blank"
203
- href = { link + '/issues' }
205
+ href = { url + '/issues' }
204
206
>
205
207
{ open_issues_count }
206
208
</ a >
@@ -218,13 +220,7 @@ export class ProposalPage extends mixin<ProposalPageProps>() {
218
220
) }
219
221
</ td >
220
222
< td className = "text-nowrap" >
221
- { meeting ? (
222
- < a className = "stretched-link" target = "_blank" href = { meeting } >
223
- { updated }
224
- </ a >
225
- ) : (
226
- updated
227
- ) }
223
+ { notes && this . renderNotes ( notes ) }
228
224
</ td >
229
225
</ TableRow >
230
226
) ;
@@ -236,10 +232,10 @@ export class ProposalPage extends mixin<ProposalPageProps>() {
236
232
stage != null
237
233
? list . filter ( item => item . stage === stage )
238
234
: author
239
- ? list . filter ( ( { authors } ) => authors ?. includes ( author ) )
240
- : champion
241
- ? list . filter ( ( { champions } ) => champions ?. includes ( champion ) )
242
- : list ;
235
+ ? list . filter ( ( { authors } ) => authors ?. includes ( author ) )
236
+ : champion
237
+ ? list . filter ( ( { champions } ) => champions ?. includes ( champion ) )
238
+ : list ;
243
239
244
240
return (
245
241
< >
0 commit comments