* feed cards * frontend * preactify * preactify * . * fix * fixing things and adding dropdown * whoops. * whoops 2. * revert body bg color change * search snippet * search snippet * get rid of featured article * get rid of featured article... * cover to its own component * videos * videos * reading time * small-save-filled asset * author adjustments * adjustments * Author --> Meta * whoops. * loader * logged out state * . * dropping what's not needed for now * better name for cover * get rid of nav overflow * bringin comments placeholder back * bringing comments placeholder back * publish date * fix * date * . * save button icon * ghost button * lets skip the icon for saving for now * more buttons * counting logic * Display top comments on homepage feed * Comment list and item components * Remove 'Top Comments' title * Remove subscribe button, add reading time * Update snapshots and tests * Fix article and follower scrolling * Added reading time * (Try) to do flare tags * Button component from Pawel * More button styles from Pawel * Comment count style from Pawel * Handle empty parens for age on older articles * Dont show 'more comment' button for more than 2 comments * cover ratio * flare tag * cover fix * fix buttons * more button fixes * tags fix * responsiveness fix * reading time + a bit of responsiveness * Reading time in more places * snapshots * default color for flare tag * Update CommentsList test snapshot with new styles * fixing search results * fixing buttons * Fix podcast card tests by updating snapshots * Line clamping for top comments * Reflect save button state after click before mouseout * Now the entire feed card is clickable. (#7638) * Now pointer cursor is only on feed posts. (#7727) * Revert podcast card styling * Update test snapshot * merge * Fix rspec on feed page * Reduce complexity of class check for feed card clicking * PR feedback/fixes * Fix featured article test and snapshot * Last minute test tweaks * clean up crayons * padding issue + empty div * Correct merge error * Fix search results tests * Test fixes and snapshot updates * themes * podcasts colors Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com> Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
53 lines
1.9 KiB
JavaScript
53 lines
1.9 KiB
JavaScript
export const singleComment = {
|
|
comment_id: 5,
|
|
user_id: 5,
|
|
published_timestamp: '2020-04-28T01:08:11Z',
|
|
published_at_int: 1588036091,
|
|
safe_processed_html: '<p>Waistcoat goth vice salvia.</p>\n\n',
|
|
path: '/cedrick_effertz/comment/5',
|
|
username: 'cedrick_effertz',
|
|
name: 'Cedrick Effertz',
|
|
profile_image_90:
|
|
'/uploads/user/profile_image/5/6210af11-9bdc-4903-8023-bf199a733427.png',
|
|
};
|
|
|
|
export const threeCommentList = [
|
|
{
|
|
comment_id: 5,
|
|
user_id: 5,
|
|
published_timestamp: '2020-04-28T01:08:11Z',
|
|
published_at_int: 1588036091,
|
|
safe_processed_html: '<p>Waistcoat goth vice salvia.</p>\n\n',
|
|
path: '/cedrick_effertz/comment/5',
|
|
username: 'cedrick_effertz',
|
|
name: 'Cedrick Effertz',
|
|
profile_image_90:
|
|
'/uploads/user/profile_image/5/6210af11-9bdc-4903-8023-bf199a733427.png',
|
|
},
|
|
{
|
|
comment_id: 20,
|
|
user_id: 7,
|
|
published_timestamp: '2020-04-28T01:08:12Z',
|
|
published_at_int: 1588036092,
|
|
safe_processed_html:
|
|
'<p>Twee chartreuse kitsch. Before they sold out 8-bit semiotics vhs pitchfork 3 wolf moon. Park migas retro lumbersexual goth whatever slow-carb selvage.</p>\n\n',
|
|
path: '/miss_shavon_langosh/comment/k',
|
|
username: 'miss_shavon_langosh',
|
|
name: 'Miss Shavon Langosh',
|
|
profile_image_90:
|
|
'/uploads/user/profile_image/7/8a6cd3cf-2b23-4500-b265-00f0b524e4de.png',
|
|
},
|
|
{
|
|
comment_id: 29,
|
|
user_id: 10,
|
|
published_timestamp: '2020-04-28T01:08:12Z',
|
|
published_at_int: 1588036092,
|
|
safe_processed_html:
|
|
'<p>Put a bird on it squid pickled williamsburg farm-to-table keytar yr keffiyeh. Gluten-free bespoke tumblr everyday intelligentsia kombucha. Single-origin coffee chambray occupy tattooed echo mustache cray.</p>\n\n',
|
|
path: '/brady_orn/comment/13',
|
|
username: 'brady_orn',
|
|
name: 'Brady Orn',
|
|
profile_image_90:
|
|
'/uploads/user/profile_image/10/5f86a870-3d5a-42c3-8d92-3c8e2c0c7094.png',
|
|
},
|
|
];
|